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 Steve Lancashire [Atlassian], 1 year ago
Could not initialize proxy - the owning Session was closed
via Atlassian JIRA by Steve Lancashire [Atlassian], 1 year ago
Could not initialize proxy - the owning Session was closed
via Atlassian JIRA by Brydie McCoy [Atlassian], 1 year ago
Could not initialize proxy - the owning Session was closed
via Atlassian JIRA by Brydie McCoy [Atlassian], 2 years ago
Could not initialize proxy - the owning Session was closed
via Atlassian JIRA by Brydie McCoy [Atlassian], 1 year ago
Could not initialize proxy - the owning Session was closed
via Atlassian JIRA by Brydie McCoy [Atlassian], 2 years ago
Could not initialize proxy - the owning Session was closed
net.sf.hibernate.HibernateException: Could not initialize proxy - the owning Session was closed	at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:47)	at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:60)	at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164)	at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108)	at com.atlassian.confluence.spaces.Space$$EnhancerByCGLIB$$23c0d2c4.getKey()	at com.atlassian.confluence.util.GeneralUtil.toDisplayUrl(GeneralUtil.java:492)	at com.atlassian.confluence.util.GeneralUtil.getPageUrl(GeneralUtil.java:382)	at com.atlassian.confluence.pages.AbstractPage.getUrlPath(AbstractPage.java:126)	at com.atlassian.confluence.api.impl.service.content.factory.ContentFactory.addCommonFieldsToBuilder(ContentFactory.java:137)	at com.atlassian.confluence.api.impl.service.content.factory.ContentFactory.buildFromContentConvertible(ContentFactory.java:112)	at com.atlassian.confluence.api.impl.service.content.factory.ContentFactory.buildFrom(ContentFactory.java:89)	at com.atlassian.confluence.api.impl.service.content.factory.ContentFactory.makeContainer(ContentFactory.java:204)	at com.atlassian.confluence.api.impl.service.content.factory.ContentFactory.addCommonFieldsToBuilder(ContentFactory.java:124)	at com.atlassian.confluence.api.impl.service.content.factory.AttachmentFactory.buildFrom(AttachmentFactory.java:40)	at com.atlassian.confluence.api.impl.service.content.typebinding.AttachmentContentTypeApiSupport.getById(AttachmentContentTypeApiSupport.java:124)	at com.atlassian.confluence.api.impl.service.content.AttachmentServiceImpl$AttachmentFinderImpl.fetchMany(AttachmentServiceImpl.java:184)	at com.atlassian.confluence.api.impl.service.content.AttachmentServiceImpl$AttachmentFinderImpl.fetchOne(AttachmentServiceImpl.java:229)	at com.atlassian.confluence.plugins.sharepage.notifications.context.attachment.AbstractShareAttachmentEventRenderContextProvider.getAttachment(AbstractShareAttachmentEventRenderContextProvider.java:135)	at com.atlassian.confluence.plugins.sharepage.notifications.context.attachment.AbstractShareAttachmentEventRenderContextProvider.getContentForEntityId(AbstractShareAttachmentEventRenderContextProvider.java:62)	at com.atlassian.confluence.plugins.sharepage.notifications.context.AbstractShareEventRenderContextProvider.basicContext(AbstractShareEventRenderContextProvider.java:197)	at com.atlassian.confluence.plugins.sharepage.notifications.context.AbstractShareEventRenderContextProvider.checkedCreate(AbstractShareEventRenderContextProvider.java:116)	at com.atlassian.confluence.notifications.RenderContextProviderTemplate.create(RenderContextProviderTemplate.java:26)	at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory.buildRecipientProviderContext(DeclarativeRenderContextFactory.java:191)	at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory.access$400(DeclarativeRenderContextFactory.java:44)	at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$2.call(DeclarativeRenderContextFactory.java:139)	at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$2.call(DeclarativeRenderContextFactory.java:122)	at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134)	at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113)	at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89)	at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$1.call(DeclarativeRenderContextFactory.java:97)	at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory$1.call(DeclarativeRenderContextFactory.java:94)	at com.atlassian.confluence.notifications.impl.DefaultFakeHttpRequestInjector$1.doFilter(DefaultFakeHttpRequestInjector.java:51)	at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)	at com.atlassian.confluence.notifications.impl.DefaultFakeHttpRequestInjector.withRequest(DefaultFakeHttpRequestInjector.java:46)	at com.atlassian.confluence.notifications.impl.spi.DeclarativeRenderContextFactory.createChecked(DeclarativeRenderContextFactory.java:94)	at com.atlassian.plugin.notifications.api.medium.RenderContextFactoryTemplate.create(RenderContextFactoryTemplate.java:53)	at sun.reflect.GeneratedMethodAccessor675.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at com.sun.proxy.$Proxy1412.create(Unknown Source)	at com.atlassian.plugin.notifications.dispatcher.task.IndividualNotificationTask$UserKeySender.send(IndividualNotificationTask.java:157)	at com.atlassian.plugin.notifications.dispatcher.task.IndividualNotificationTask.execute(IndividualNotificationTask.java:64)	at com.atlassian.plugin.notifications.dispatcher.AbstractNotificationTask.run(AbstractNotificationTask.java:111)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)	at java.util.concurrent.FutureTask.run(FutureTask.java:166)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:724)