org.hibernate.LazyInitializationException

could not initialize proxy - no Session

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web227

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:286) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185) at com.ram.adp.model.Person_$$_jvst13a_1.getLocation(Person_$$_jvst13a_1.java) at com.ram.sample.executor.PersonExecutor.main(PersonExecutor.java:18)

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

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
linxiaolonglinxiaolong
2 times, last one
SteVio1989SteVio1989
124 times, last one
18 more bugmates