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\]

dozer | metatechbe | 4 years ago
  1. 0

    Unexpected exception in LogMsgFactory (same as bug 1797808)

    dozer | 4 years ago | metatechbe
    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\]
  2. 0

    Initialize lazy collections

    Stack Overflow | 1 year ago | IlGala
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session exception is thrown. stack trace: at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:167) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final]
  3. 0

    Execute @PostLoad _after_ eagerly fetching?

    Stack Overflow | 6 years ago | Alexandros
    org.hibernate.LazyInitializationException: illegal access to loading collection" error. </p> <pre><code> at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:363)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    user-struts.apache.org - struts rest plugin, json and escaping - msg#00504 - Recent Discussion OSDir.com

    osdir.com | 11 months ago
    org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: model.Customer.people, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)
  6. 0

    Issue 60 - ebas - LazyInitializationException: failed to lazily initialize a collection of role... - Expert Business Administration System - Google Project Hosting

    google.com | 1 year ago
    org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: expert.client.persistence.Stock.serialNumbers, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:163) at expert.client.protocol.ProtocolBetaStock.encode(ProtocolBetaStock.java:79) at expert.client.protocol.ProtocolBetaGeneric.encode(ProtocolBetaGeneric.java:76)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Dozer
      DozerBeanMapper.map
      1. org.dozer.util.LogMsgFactory.createFieldMappingErrorMsg(LogMsgFactory.java:52)
      2. org.dozer.MappingProcessor.mapField(MappingProcessor.java:283)
      3. org.dozer.MappingProcessor.map(MappingProcessor.java:245)
      4. org.dozer.MappingProcessor.map(MappingProcessor.java:187)
      5. org.dozer.MappingProcessor.map(MappingProcessor.java:124)
      6. org.dozer.MappingProcessor.map(MappingProcessor.java:119)
      7. org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:111)
      7 frames