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 Atlassian JIRA by Jacek Jaroczynski [Atlassian], 2 years ago
could not initialize proxy - no Session [See nested exception: org.hibernate.LazyInitializationException: could not initialize proxy - no Session]
via Atlassian JIRA by Jacek Jaroczynski, 1 year ago
could not initialize proxy - no Session [See nested exception: org.hibernate.LazyInitializationException: could not initialize proxy - no Session]
via hkma.org by Unknown author, 1 year ago
could not execute query [See nested exception: org.hibernate.exception.SQLGrammarException: could not execute query]
via nabble.com by Unknown author, 2 years ago
Unexpected exception thrown [See nested exception: java.lang.IllegalStateException: Unexpected exception thrown]
org.quartz.JobExecutionException: could not initialize proxy - no Session [See nested exception: org.hibernate.LazyInitializationException: could not initialize proxy - no Session] at org.codehaus.groovy.grails.plugins.quartz.GrailsJobFactory$GrailsTaskClassJob.execute(GrailsJobFactory.java:81) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - no Session at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:86) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140) at org.codehaus.groovy.grails.orm.hibernate.proxy.GroovyAwareJavassistLazyInitializer.invoke(GroovyAwareJavassistLazyInitializer.java:195) at translate.Version_$$_javassist_21.toString(Version_$$_javassist_21.java) at org.codehaus.groovy.runtime.InvokerHelper.format(InvokerHelper.java:550) at org.codehaus.groovy.runtime.InvokerHelper.format(InvokerHelper.java:504) at org.codehaus.groovy.runtime.InvokerHelper.toString(InvokerHelper.java:114) at org.codehaus.groovy.runtime.InvokerHelper.write(InvokerHelper.java:494) at groovy.lang.GString.writeTo(GString.java:189) at groovy.lang.GString.toString(GString.java:161) at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:226) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.castToType(ScriptBytecodeAdapter.java:602) at translate.GengoOrder.toString(GengoOrder.groovy:21) at org.codehaus.groovy.runtime.InvokerHelper.format(InvokerHelper.java:550) at org.codehaus.groovy.runtime.InvokerHelper.format(InvokerHelper.java:504) at org.codehaus.groovy.runtime.InvokerHelper.formatMap(InvokerHelper.java:570) at org.codehaus.groovy.runtime.InvokerHelper.toMapString(InvokerHelper.java:647) at org.codehaus.groovy.runtime.InvokerHelper.toMapString(InvokerHelper.java:636) at org.codehaus.groovy.runtime.InvokerHelper.toString(InvokerHelper.java:113) at org.codehaus.groovy.runtime.DefaultGroovyMethods.toString(DefaultGroovyMethods.java:8880) at org.codehaus.groovy.runtime.DefaultGroovyMethods.plus(DefaultGroovyMethods.java:8314) at org.codehaus.groovy.runtime.dgm$470.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:270) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124) at translate.GengoImportJob$_execute_closure1.doCall(GengoImportJob.groovy:30) at sun.reflect.GeneratedMethodAccessor7810.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:225) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:51) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149) at translate.GengoImportJob$_execute_closure1.doCall(GengoImportJob.groovy) at sun.reflect.GeneratedMethodAccessor7809.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058) at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1070) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at groovy.lang.Closure.call(Closure.java:282) at groovy.lang.Closure.call(Closure.java:277) at groovy.lang.Closure$call$56.call(Unknown Source) at translate.imports.ImportService.acquireImportLock(ImportService.groovy:29) at translate.imports.ImportService$acquireImportLock.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128) at translate.GengoImportJob.execute(GengoImportJob.groovy:24) 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:597) at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:186) at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:171) at org.codehaus.groovy.grails.plugins.quartz.GrailsJobFactory$GrailsTaskClassJob.execute(GrailsJobFactory.java:77) ... 2 more