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 java2s.com by Unknown author, 1 year ago
could not initialize proxy - no Session
via Stack Overflow by Neuquino
, 2 years ago
could not initialize proxy - no Session
via Stack Overflow by Taha berserk
, 2 years ago
could not initialize proxy - no Session
org.hibernate.LazyInitializationException: could not initialize proxy - no Session
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:57)
at beans.Country$$EnhancerByCGLIB$$e757f40e.getStringId()
at beans.Address.getCountryStringId(Address.java:137)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
49 times, 6 months ago
Once, 1 month ago
2 times, 8 months ago
18 more bugmates

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