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 David Erickson, 1 year ago
via Hibernate JIRA by David Erickson, 2 years ago
org.hibernate.LazyInitializationException: session is not connected	at org.hibernate.intercept.FieldInterceptor.intercept(FieldInterceptor.java:54)	at org.hibernate.intercept.FieldInterceptor.readObject(FieldInterceptor.java:113)	at org.tecas.model.TestClass.$cglib_read_lazyString(TestClass.java)	at org.tecas.model.TestClass.getLazyString(TestClass.java:21)	at org.tecas.dao.TestClassDaoTest.testGetTestClass(TestClassDaoTest.java:25)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at junit.framework.TestCase.runTest(TestCase.java:154)	at junit.framework.TestCase.runBare(TestCase.java:127)	at junit.framework.TestResult$1.protect(TestResult.java:106)	at junit.framework.TestResult.runProtected(TestResult.java:124)	at junit.framework.TestResult.run(TestResult.java:109)	at junit.framework.TestCase.run(TestCase.java:118)	at junit.framework.TestSuite.runTest(TestSuite.java:208)	at junit.framework.TestSuite.run(TestSuite.java:203)	at junit.textui.TestRunner.doRun(TestRunner.java:116)	at com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(IdeaJUnitAgent.java:57)	at junit.textui.TestRunner.start(TestRunner.java:172)	at com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)	at com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)	at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)