Skip to content

Unable to query subjects through SubjectResource #880

@mpgxvii

Description

@mpgxvii

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions