java.lang.RuntimeException: Error load template instance for /__global.rythm

GitHub | greenlaw110 | 4 months ago
  1. 0

    GitHub comment 209#35619012

    GitHub | 3 years ago | jdkanani
    java.lang.RuntimeException: Error load template instance for default.html
  2. 0

    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: {noformat} 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) {noformat}

    Atlassian JIRA | 8 years ago | Jens Schumacher
    java.lang.RuntimeException: Error rendering template for decorator root
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Error load template instance for /__global.rythm

      at org.rythmengine.internal.compiler.TemplateClass.templateInstance_()
    2. org.rythmengine.internal
      TemplateClass.asTemplate
      1. org.rythmengine.internal.compiler.TemplateClass.templateInstance_(TemplateClass.java:501)
      2. org.rythmengine.internal.compiler.TemplateClass.asTemplate(TemplateClass.java:520)
      3. org.rythmengine.internal.compiler.TemplateClass.asTemplate(TemplateClass.java:526)
      3 frames
    3. org.rythmengine.resource
      TemplateResourceManager.tryLoadTemplate
      1. org.rythmengine.resource.TemplateResourceManager._resourceLoaded(TemplateResourceManager.java:301)
      2. org.rythmengine.resource.TemplateResourceManager.resourceLoaded(TemplateResourceManager.java:276)
      3. org.rythmengine.resource.ResourceLoaderBase.tryLoadTemplate(ResourceLoaderBase.java:159)
      4. org.rythmengine.resource.ResourceLoaderBase.tryLoadTemplate(ResourceLoaderBase.java:54)
      5. org.rythmengine.resource.TemplateResourceManager.tryLoadTemplate(TemplateResourceManager.java:216)
      5 frames
    4. org.rythmengine
      RythmEngine.testTemplate
      1. org.rythmengine.RythmEngine.testTemplate(RythmEngine.java:1551)
      1 frame
    5. org.rythmengine.internal
      TemplateClass.asTemplate
      1. org.rythmengine.internal.CodeBuilder.addInclude(CodeBuilder.java:551)
      2. org.rythmengine.internal.CodeBuilder.build(CodeBuilder.java:840)
      3. org.rythmengine.internal.compiler.TemplateClass.buildSourceCode_(TemplateClass.java:586)
      4. org.rythmengine.internal.compiler.TemplateClass.refresh_(TemplateClass.java:741)
      5. org.rythmengine.internal.compiler.TemplateClass.loadJavaClass(TemplateClass.java:471)
      6. org.rythmengine.internal.compiler.TemplateClass.templateInstance_(TemplateClass.java:492)
      7. org.rythmengine.internal.compiler.TemplateClass.asTemplate(TemplateClass.java:520)
      8. org.rythmengine.internal.compiler.TemplateClass.asTemplate(TemplateClass.java:526)
      8 frames
    6. org.rythmengine.spring
      RythmView.checkResource
      1. org.rythmengine.spring.web.RythmView.checkResource(RythmView.java:140)
      1 frame
    7. Spring MVC
      DispatcherServlet.processDispatchResult
      1. org.springframework.web.servlet.view.UrlBasedViewResolver.loadView(UrlBasedViewResolver.java:438)
      2. org.springframework.web.servlet.view.AbstractCachingViewResolver.createView(AbstractCachingViewResolver.java:241)
      3. org.springframework.web.servlet.view.UrlBasedViewResolver.createView(UrlBasedViewResolver.java:401)
      4. org.springframework.web.servlet.view.AbstractCachingViewResolver.resolveViewName(AbstractCachingViewResolver.java:153)
      5. org.springframework.web.servlet.DispatcherServlet.resolveViewName(DispatcherServlet.java:1239)
      6. org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1188)
      7. org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
      7 frames