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

Editgrid macro can cause system errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Medium
    • None
    • 2.10
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: