Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-13656

Editgrid macro can cause system errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Obsolete
    • Affects Version/s: 2.10
    • Fix Version/s: None
    • Component/s: None

      Description

      An example can be seen on extranet under:

      http://extranet.atlassian.com/pages/viewpage.action?pageId=1678542589

      Here is the page history:

      http://extranet.atlassian.com/pages/viewpreviousversions.action?title=Picnik+Proposal&spaceKey=DEVNET

      The exception that is being thrown is:

      Cause
      java.lang.RuntimeException: Error rendering template for decorator root
          at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:232)
      
      caused by: java.lang.RuntimeException: Error rendering template for decorator page
          at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:232)
      
      caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDisplayableLabel' in class
       com.atlassian.confluence.plugin.descriptor.web.model.ConfluenceWebLabel threw exception com.atlassian.core.exception.InfrastructureException: 
      Error occurred rendering template content @ /decorators/includes/content-navigation.vm[2,36]
          at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
      
      caused by: com.atlassian.core.exception.InfrastructureException: Error occurred rendering template content
          at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedContent(VelocityUtils.java:132)
      
      caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLatestVersionsOfAttachments' in class
       com.atlassian.confluence.pages.Page threw exception net.sf.hibernate.LazyInitializationException: 
      Failed to lazily initialize a collection @ getRenderedContent[1,15]
          at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
      
      caused by: net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection
          at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:201)
      
      caused by: net.sf.hibernate.HibernateException: collection was evicted
          at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3305)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jens@atlassian.com jens
              Votes:
              6 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: