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

java2s.com | 4 months ago
  1. 0

    session 1 « Transaction « Spring Q&A

    java2s.com | 4 months ago
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session
  2. 0

    What is wrong with my Spring Hibernate Transaction Management Configuration?

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

    Hibernate/Spring3: could not initialize proxy - no Session

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

    Automated exception search integrated into your IDE

  5. 0

    could not initialize proxy - no Session

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

    Why am I getting a Hibernate LazyInitializationException in this Spring MVC web application when the data displays correctly?

    Stack Overflow | 8 years ago | James McMahon
    org.hibernate.LazyInitializationException: could not initialize proxy - no Session

    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.LazyInitializationException

      could not initialize proxy - no Session

      at org.hibernate.proxy.AbstractLazyInitializer.initialize()
    2. Hibernate
      AbstractLazyInitializer.getImplementation
      1. org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:57)
      2. org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)
      2 frames
    3. Hibernate
      CGLIBLazyInitializer.invoke
      1. org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:150)
      1 frame
    4. beans
      Address.getCountryStringId
      1. beans.Country$$EnhancerByCGLIB$$e757f40e.getStringId(<generated>)
      2. beans.Address.getCountryStringId(Address.java:137)
      2 frames
    5. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame