net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) 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$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36)

Atlassian JIRA | Charles Miller | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    This is occasionally killing the DR5 on confluence.atlassian.com: [ERROR] Wed Nov 24 07:44:12 CST 2004 [net.sf.hibernate.proxy.LazyInitializer] Exception initializing proxy Throwable: 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$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36) at net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45) at java.util.HashMap$Entry.hashCode(HashMap.java:707) at java.util.AbstractMap.hashCode(AbstractMap.java:556) at net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63) at java.util.HashMap.hash(HashMap.java:261) at java.util.HashMap.removeEntryForKey(HashMap.java:538) at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396) at java.util.HashMap.put(HashMap.java:392) at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177) at net.sf.ehcache.Cache.put(Cache.java:318) at net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146) at net.sf.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:59) at net.sf.hibernate.loader.Loader.list(Loader.java:1019) [ERROR] Wed Nov 24 07:44:12 CST 2004 [com.atlassian.confluence.util.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/pages/viewpage.action (ViewPageAction.execute())' due to throwable: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] Throwable: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) 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$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36) at net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45) at java.util.HashMap$Entry.hashCode(HashMap.java:707) at java.util.AbstractMap.hashCode(AbstractMap.java:556) at net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63) at java.util.HashMap.hash(HashMap.java:261) at java.util.HashMap.removeEntryForKey(HashMap.java:538) at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396) at java.util.HashMap.put(HashMap.java:392) at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177) at net.sf.ehcache.Cache.put(Cache.java:318) at net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146) at net.sf.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:59) at net.sf.hibernate.loader.Loader.list(Loader.java:1019) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854) [ERROR] Wed Nov 24 07:44:12 CST 2004 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) 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$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36) at net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45) at java.util.HashMap$Entry.hashCode(HashMap.java:707) at java.util.AbstractMap.hashCode(AbstractMap.java:556) at net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63) at java.util.HashMap.hash(HashMap.java:261) at java.util.HashMap.removeEntryForKey(HashMap.java:538) at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396) at java.util.HashMap.put(HashMap.java:392) at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177) at net.sf.ehcache.Cache.put(Cache.java:318) at net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146) at net.sf.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:59) at net.sf.hibernate.loader.Loader.list(Loader.java:1019) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854)

    Atlassian JIRA | 1 decade ago | Charles Miller
    net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) 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$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36)
  2. 0

    This is occasionally killing the DR5 on confluence.atlassian.com: [ERROR] Wed Nov 24 07:44:12 CST 2004 [net.sf.hibernate.proxy.LazyInitializer] Exception initializing proxy Throwable: 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$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36) at net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45) at java.util.HashMap$Entry.hashCode(HashMap.java:707) at java.util.AbstractMap.hashCode(AbstractMap.java:556) at net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63) at java.util.HashMap.hash(HashMap.java:261) at java.util.HashMap.removeEntryForKey(HashMap.java:538) at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396) at java.util.HashMap.put(HashMap.java:392) at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177) at net.sf.ehcache.Cache.put(Cache.java:318) at net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146) at net.sf.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:59) at net.sf.hibernate.loader.Loader.list(Loader.java:1019) [ERROR] Wed Nov 24 07:44:12 CST 2004 [com.atlassian.confluence.util.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/pages/viewpage.action (ViewPageAction.execute())' due to throwable: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] Throwable: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) 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$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36) at net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45) at java.util.HashMap$Entry.hashCode(HashMap.java:707) at java.util.AbstractMap.hashCode(AbstractMap.java:556) at net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63) at java.util.HashMap.hash(HashMap.java:261) at java.util.HashMap.removeEntryForKey(HashMap.java:538) at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396) at java.util.HashMap.put(HashMap.java:392) at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177) at net.sf.ehcache.Cache.put(Cache.java:318) at net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146) at net.sf.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:59) at net.sf.hibernate.loader.Loader.list(Loader.java:1019) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854) [ERROR] Wed Nov 24 07:44:12 CST 2004 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) 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$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36) at net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45) at java.util.HashMap$Entry.hashCode(HashMap.java:707) at java.util.AbstractMap.hashCode(AbstractMap.java:556) at net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63) at java.util.HashMap.hash(HashMap.java:261) at java.util.HashMap.removeEntryForKey(HashMap.java:538) at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396) at java.util.HashMap.put(HashMap.java:392) at net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177) at net.sf.ehcache.Cache.put(Cache.java:318) at net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146) at net.sf.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:59) at net.sf.hibernate.loader.Loader.list(Loader.java:1019) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854)

    Atlassian JIRA | 1 decade ago | Charles Miller
    net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) 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$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36)

    Root Cause Analysis

    1. net.sf.hibernate.LazyInitializationException

      Exception initializing proxy: [com.atlassian.confluence.spaces.Space#1] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) 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$$6c6ddc66.getKey() at com.atlassian.confluence.core.SpaceContentEntityObject.hashCode(SpaceContentEntityObject.java:36)

      at net.sf.hibernate.engine.TypedValue.hashCode()
    2. net.sf.hibernate
      TypedValue.hashCode
      1. net.sf.hibernate.engine.TypedValue.hashCode(TypedValue.java:45)
      1 frame
    3. Java RT
      AbstractMap.hashCode
      1. java.util.HashMap$Entry.hashCode(HashMap.java:707)
      2. java.util.AbstractMap.hashCode(AbstractMap.java:556)
      2 frames
    4. net.sf.hibernate
      QueryKey.hashCode
      1. net.sf.hibernate.cache.QueryKey.hashCode(QueryKey.java:63)
      1 frame
    5. Java RT
      HashMap.put
      1. java.util.HashMap.hash(HashMap.java:261)
      2. java.util.HashMap.removeEntryForKey(HashMap.java:538)
      3. java.util.LinkedHashMap.addEntry(LinkedHashMap.java:396)
      4. java.util.HashMap.put(HashMap.java:392)
      4 frames
    6. Ehcache
      Plugin.put
      1. net.sf.ehcache.store.MemoryStore.put(MemoryStore.java:177)
      2. net.sf.ehcache.Cache.put(Cache.java:318)
      3. net.sf.ehcache.hibernate.Plugin.put(Plugin.java:146)
      3 frames