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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Marc Schipperheyn, 1 year ago
could not initialize proxy - no Session
via Hibernate JIRA by Marc Schipperheyn, 1 year ago
could not initialize proxy - no Session
via Stack Overflow by Abhishek Chatterjee
, 2 years ago
via Stack Overflow by B Hema Sekhar Reddy
, 6 months ago
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 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)

Users with the same issue

Once, 3 months ago
3 times, 6 months ago
2 times, 10 months ago
124 times, 11 months ago
Once, 11 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.