org.hibernate.HibernateException: collection is not associated with any session

  1. 0

    @Transactional in @Entity doesn't work?

    Stack Overflow | 4 months ago | Dmitry Korchemkin
    org.hibernate.HibernateException: collection is not associated with any session
  2. 0

    Hibernate in JUnit test Not responsive when Transactional

    Stack Overflow | 2 months ago | Mohamed Ahmed Taher Mohamed
    org.hibernate.HibernateException: collection is not associated with any session
  3. 0

    Hibernate collection is not associated with any session

    Stack Overflow | 3 years ago | DominikM
    org.hibernate.HibernateException: collection is not associated with any session
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    zeroturnaround.com » Topic: Reloading Spring bean corrupts hibernate session

    zeroturnaround.com | 1 year ago
    org.hibernate.HibernateException: collection is not associated with any session
  6. 0

    zeroturnaround.com » Topic: Reloading Spring bean corrupts hibernate session

    zeroturnaround.com | 1 year ago
    org.hibernate.HibernateException: collection is not associated with any session

  1. MoYapro 1 times, last 1 month ago
2 unregistered visitors
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.HibernateException

    collection is not associated with any session

    at org.hibernate.collection.internal.AbstractPersistentCollection.forceInitialization()
  2. Hibernate
    Hibernate.initialize
    1. org.hibernate.collection.internal.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:704)
    2. org.hibernate.Hibernate.initialize(Hibernate.java:65)
    2 frames
  3. com.studytrails.tutorials
    TestSpringHibernateJpa.main
    1. com.studytrails.tutorials.springhibernatejpa.MutablePerson.excludeFromGroup(MutablePerson.java:57)
    2. com.studytrails.tutorials.springhibernatejpa.TestSpringHibernateJpa.main(TestSpringHibernateJpa.java:48)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  5. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame