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

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:286)
at com.ram.adp.model.Person_$$_jvst13a_1.getLocation(Person_$$_jvst13a_1.java)
at com.ram.sample.executor.PersonExecutor.main(PersonExecutor.java:18)

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.