org.hibernate.LazyInitializationException: illegal access to loading collection at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:366) ~\[hibernate-core-3.6.10.Final.jar:3.6.10.Final\] at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111) ~\[hibernate-core-3.6.10.Final.jar:3.6.10.Final\] at org.hibernate.collection.PersistentSet.hashCode(PersistentSet.java:434) ~\[hibernate-core-3.6.10.Final.jar:3.6.10.Final\]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via dozer by metatechbe
, 1 year ago
illegal access to loading collection at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:366) ~\[hibernate-core-3.6.10.Final.jar:3.6.10.Final\] at
org.hibernate.LazyInitializationException: illegal access to loading collection at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:366) ~\[hibernate-core-3.6.10.Final.jar:3.6.10.Final\] at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111) ~\[hibernate-core-3.6.10.Final.jar:3.6.10.Final\] at org.hibernate.collection.PersistentSet.hashCode(PersistentSet.java:434) ~\[hibernate-core-3.6.10.Final.jar:3.6.10.Final\]
at org.dozer.util.LogMsgFactory.createFieldMappingErrorMsg(LogMsgFactory.java:52)
at org.dozer.MappingProcessor.mapField(MappingProcessor.java:283)
at org.dozer.MappingProcessor.map(MappingProcessor.java:245)
at org.dozer.MappingProcessor.map(MappingProcessor.java:187)
at org.dozer.MappingProcessor.map(MappingProcessor.java:124)
at org.dozer.MappingProcessor.map(MappingProcessor.java:119)
at org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:111)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.