org.hibernate.LazyInitializationException: could not initialize proxy - no Session

Stack Overflow | J.Kennsy | 3 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Loading many-to-one class - Hibernate

    Stack Overflow | 3 months ago | J.Kennsy
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  2. 0

    Hibernate - unable access to object property

    Stack Overflow | 7 months ago | naveen.singh
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:165)
  3. 0

    Trying to load lazy relationships after EntityManager closes

    Stack Overflow | 5 years ago | Abhishek Chatterjee
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    EntityManager is not persisting with merge and when flushed i get a could not initialize proxy - no Session is thrown

    Stack Overflow | 5 years ago | jakob
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  6. 0

    [HSEARCH-1260] LazyInitializationException while indexing - Hibernate JIRA

    atlassian.net | 1 year ago
    java.lang.IllegalStateException: Could not get property value

  1. linxiaolong 2 times, last 2 months ago
  2. SteVio1989 124 times, last 3 months ago
  3. tomthomas 1 times, last 3 months ago
  4. MoYapro 2 times, last 6 months ago
15 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.LazyInitializationException

    could not initialize proxy - no Session

    at org.hibernate.proxy.AbstractLazyInitializer.initialize()
  2. Hibernate
    JavassistLazyInitializer.invoke
    1. org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:165)
    2. org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:286)
    3. org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185)
    3 frames
  3. mapping
    Type_$$_jvstd13_0.getName
    1. mapping.Type_$$_jvstd13_0.getName(Type_$$_jvstd13_0.java)
    1 frame