org.hibernate.LazyInitializationException

could not initialize proxy - no Session

Solutions on the web684

  • could not initialize proxy - no Session
  • via GitHub by jezekp
    , 8 months ago
    could not initialize proxy - no Session
  • could not initialize proxy - no Session
  • Stack trace

    • org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:165) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:272) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185) at nl.msw.compraventa.model.user.Usor_$$_javassist_78.getRoles(Usor_$$_javassist_78.java) at nl.msw.compraventa.dao.hibernate.bridge.OfferClassBridge.set(OfferClassBridge.java:94)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 5 months ago
    124 times, 5 months ago
    Once, 5 months ago
    Unknown user
    Once, 6 months ago
    2 times, 8 months ago
    18 more bugmates