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

  1. 0

    Getting Exception in thread "main" org.hibernate.LazyInitializationException: could not initialize proxy - no Session

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

    JsonMappingException: could not initialize proxy - no Session

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

    What does @Proxy(lazy = false) do?

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

    Automated exception search integrated into your IDE

  5. 0

    Why Lazy Initialization Exception in Hibernate polymorphic Assosiation after making it FetchType.Eagar?

    Stack Overflow | 2 years ago | Sharath Mekottil
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  6. 0

    Setting own proxy during @PostConstruct phase causes @Transactional problems

    Stack Overflow | 2 years ago | Marek R
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session

  1. MoYapro 2 times, last 1 month ago
14 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. com.ram.adp
    Person_$$_jvst13a_1.getLocation
    1. com.ram.adp.model.Person_$$_jvst13a_1.getLocation(Person_$$_jvst13a_1.java)
    1 frame
  4. com.ram.sample
    PersonExecutor.main
    1. com.ram.sample.executor.PersonExecutor.main(PersonExecutor.java:18)
    1 frame