net.sf.hibernate.HibernateException: Could not initialize proxy - the owning Session was closed

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

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], 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 Steve Lancashire [Atlassian], 1 year ago
Could not initialize proxy - the owning Session was closed
via Atlassian JIRA by Dmitriy Amelin, 1 year ago
Could not initialize proxy - the owning Session was closed
via Atlassian JIRA by Jens Schumacher, 1 year 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$$b994ae80.getKey()
at com.atlassian.confluence.upgrade.ResourceUpgradeTask.upgradeSpaceResources(ResourceUpgradeTask.java:70)
at com.atlassian.confluence.upgrade.ResourceUpgradeTask.doUpgrade(ResourceUpgradeTask.java:59)
at bucket.upgrade.AbstractUpgradeManager.doUpgrade(AbstractUpgradeManager.java:104)
at bucket.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:64)
at bucket.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:27)
at com.atlassian.confluence.upgrade.ConfluenceUpgradeServletContextListener.contextInitialized(ConfluenceUpgradeServletContextListener.java:14)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3387)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3743)
at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.