Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to query subjects through SubjectResource #880

Open
mpgxvii opened this issue Jul 4, 2024 · 0 comments
Open

Unable to query subjects through SubjectResource #880

mpgxvii opened this issue Jul 4, 2024 · 0 comments
Assignees

Comments

@mpgxvii
Copy link
Member

mpgxvii commented Jul 4, 2024

Getting this error when querying through the SubjectResource:

org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.radarbase.management.domain.Project.groups, could not initialize proxy - no Session
	at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:614)
	at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:218)
	at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:162)
	at org.hibernate.collection.internal.PersistentSet.size(PersistentSet.java:168)
	at org.radarbase.management.service.mapper.ProjectMapperImpl_.groupSetToGroupDTOSet(ProjectMapperImpl_.java:203)
@mpgxvii mpgxvii self-assigned this Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant