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

Stack Overflow | gemorra | 5 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

    Accessing spring boot data jpa entity in filter

    Stack Overflow | 5 months ago | gemorra
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  2. 0

    LazyInitializationException could not initialize proxy - no Session

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

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

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

    Automated exception search integrated into your IDE

  5. 0

    hibernate behavior explanation:

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

    Spring Hibernate Transaction No Session Lazy Loading

    Stack Overflow | 4 years ago | user979051
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session

  1. SteVio1989 124 times, last 4 weeks ago
  2. tomthomas 1 times, last 1 month ago
  3. MoYapro 2 times, last 4 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:148)[hibernate-core-5.0.11.Final.jar:5.0.11.Final]
    2. org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:266)[hibernate-core-5.0.11.Final.jar:5.0.11.Final]
    3. org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:73)[hibernate-core-5.0.11.Final.jar:5.0.11.Final]
    3 frames
  3. de.seeme.web
    User_$$_jvst43d_a.isAdmin
    1. de.seeme.web.persistence.User_$$_jvst43d_a.isAdmin(User_$$_jvst43d_a.java)[bin/:na]
    1 frame