Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-1851

Exception moving page between spaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 1.2.3
    • 1.2.1
    • None

    Description

      I was moving a page from the MACROS space to the CONFEXT space on http://confluence.atlassian.com.

      The page had one incoming link, from a comment attached to the page itself.

      Here are the error details:

      Cause:
      Found shared references to a collection; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection

      Stack Trace: [hide]

      Found shared references to a collection; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection
      Referer URL: http://confluence.atlassian.com/pages/movepage.action?pageId=5935

      Build Information:
      Uptime: 8 days, 20 hours, 40 minutes, 13 seconds
      Version: 1.2.1
      Build Number: 59

      Server Information:
      Application Server: Orion/2.0.2
      Servlet Version: 2.2
      Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect

      Memory Information:
      Total Memory: 371 MB
      Free Memory: 161 MB
      Used Memory: 210 MB

      System Information:
      System Date: Tuesday, 21 Sep 2004
      System Time: 22:09:53
      System Favourite Colour: Jet Black
      Java Version: 1.4.2_04
      Java Vendor: Sun Microsystems Inc.
      JVM Version: 1.0
      JVM Vendor: Sun Microsystems Inc.
      JVM Implementation Version: 1.4.2_04-b05
      Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition
      Java VM: Java HotSpot(TM) Server VM
      User Name: j2ee
      User Timezone: America/Chicago
      Operating System: Linux 2.4.21-20.ELsmp
      OS Architecture: i386

      Request
      Information:
      URL: http://atlassian01.contegix.com:10082/500page.jsp

      • Scheme: http
      • Server: atlassian01.contegix.com
      • Port: 10082
      • URI: /500page.jsp
      • - Context Path:
      • - Servlet Path: /500page.jsp
      • - Path Info: null
      • - Query String: pageId=5935

      Attributes:

      • com.atlassian.confluence.setup.SpringSessionInViewFilter.sessionFactory : true
      • javax.servlet.error.exception : org.springframework.orm.hibernate.HibernateSystemException: Found shared references to a collection; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection
      • javax.servlet.error.message : Found shared references to a collection; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection
      • os_securityfilter_already_filtered : true
      • com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true
      • javax.servlet.error.request_uri : /pages/domovepage.action
      • javax.servlet.error.status_code : 500
      • os_authstatus : null
      • _sitemesh_filterapplied : true
      • javax.servlet.error.servlet_name : action
      • webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@1bad991
      • loginfilter.already.filtered : true
      • atlassian.core.seraph.original.url : /pages/domovepage.action?pageId=5935
      • javax.servlet.jsp.jspException : org.springframework.orm.hibernate.HibernateSystemException: Found shared references to a collection; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection

      Parameters:

      • newPageTitle = Snippet Macro Library
      • newSpaceKey = CONFEXT
      • contentToBeRefactored = 5938
      • confirm = Move
      • pageId = 5935

      Logging:
      2 log statements generated by this request:

      [ERROR] Tue Sep 21 22:09:53 CDT 2004 [com.atlassian.confluence.util.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/pages/domovepage.action (MovePageAction.doMove())' due to throwable: org.springframework.orm.hibernate.HibernateSystemException: Found shared references to a collection; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection
      Throwable:
      org.springframework.orm.hibernate.HibernateSystemException: Found shared references to a collection; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection
      net.sf.hibernate.HibernateException: Found shared references to a collection
      at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2871)
      at net.sf.hibernate.impl.FlushVisitor.processCollection(FlushVisitor.java:32)
      at net.sf.hibernate.impl.AbstractVisitor.processValue(AbstractVisitor.java:69)
      at net.sf.hibernate.impl.AbstractVisitor.processValues(AbstractVisitor.java:36)
      at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2588)
      at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2454)
      at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2256)
      at net.sf.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1801)
      at net.sf.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1567)
      at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1532)
      at net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java:39)
      at bucket.core.persistence.hibernate.HibernateObjectDao$4.doInHibernate(HibernateObjectDao.java:317)
      at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:150)
      at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:170)
      at bucket.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:298)
      at bucket.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:283)
      at bucket.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:263)
      at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.getPage(HibernatePageDao.java:62)
      [ERROR] Tue Sep 21 22:09:53 CDT 2004 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action
      Throwable:
      org.springframework.orm.hibernate.HibernateSystemException: Found shared references to a collection; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection
      net.sf.hibernate.HibernateException: Found shared references to a collection
      at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2871)
      at net.sf.hibernate.impl.FlushVisitor.processCollection(FlushVisitor.java:32)
      at net.sf.hibernate.impl.AbstractVisitor.processValue(AbstractVisitor.java:69)
      at net.sf.hibernate.impl.AbstractVisitor.processValues(AbstractVisitor.java:36)
      at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2588)
      at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2454)
      at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2256)
      at net.sf.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1801)
      at net.sf.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1567)
      at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1532)
      at net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java:39)
      at bucket.core.persistence.hibernate.HibernateObjectDao$4.doInHibernate(HibernateObjectDao.java:317)
      at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:150)
      at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:170)
      at bucket.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:298)
      at bucket.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:283)
      at bucket.core.persistence.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:263)
      at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.getPage(HibernatePageDao.java:62)
      org.springframework.dao.CleanupFailureDataAccessException: Failed to flush session before close: Found shared references to a collection; nested exception is net.sf.hibernate.HibernateException: Found shared references to a collection
      net.sf.hibernate.HibernateException: Found shared references to a collection
      at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2871)
      at net.sf.hibernate.impl.FlushVisitor.processCollection(FlushVisitor.java:32)
      at net.sf.hibernate.impl.AbstractVisitor.processValue(AbstractVisitor.java:69)
      at net.sf.hibernate.impl.AbstractVisitor.processValues(AbstractVisitor.java:36)
      at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2588)
      at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2454)
      at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2256)
      at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2235)
      at bucket.custom.FlushingSpringSessionInViewFilter.closeSession(FlushingSpringSessionInViewFilter.java:39)
      at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:122)
      at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:30)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73)
      at com.evermind[Orion/2.0.2 (build 11157)]._ha.doFilter(.:20)
      at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132)
      at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:26)
      at com.evermind[Orion/2.0.2 (build 11157)]._ha.doFilter(.:20)
      at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36)
      at com.evermind[Orion/2.0.2 (build 11157)]._cub._pod(.:383)
      at com.evermind[Orion/2.0.2 (build 11157)]._cub._bmc(.:177)
      at com.evermind[Orion/2.0.2 (build 11157)]._ax._ltc(.:666)
      at com.evermind[Orion/2.0.2 (build 11157)]._ax._uab(.:191)
      at com.evermind[Orion/2.0.2 (build 11157)]._bf.run(.:62)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mike@atlassian.com Mike Cannon-Brookes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: