java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • h3. Summary When visiting a page in Confluence with JIRA Issues Macro, a stack trace will be seen. h3. Environment Confluence 5.9.0-OD-57-010 h3. Steps to Reproduce # Visit or create a page on the instance with JIRA Issues macro. # Instead of page loading, you receive below stack trace. h3. Expected Results Generally page should load without problem. h3. Actual Results {noformat} java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:202) caused by: java.lang.RuntimeException: Error rendering template for decorator page at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:202) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDisplayableItems' in class com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager threw exception net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection at template/includes/menu-macros.vm[line 125, column 45] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) 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:3332){noformat} h3.Workaround Raise a support request in the Atlassian Cloud project at [support.atlassian.com|https://support.atlassian.com] to have Support apply the fix to your instance. No downtime is required.
    via by Shannon Mackie [Atlassian],
  • h3. Summary When using the $permissionHelper.canEdit($action.remoteUser, $pageVar) with a user and page Object, if the function returns true it displays 'true' in a page. If the user does not have permission, this should return false. Instead it returns the stack trace below. h3. Environment * Mac OS X * Java 1.8 h3. Steps to Reproduce # Create a user macro to read in a target page and then check if the user has permission as follows: {code} ## @param Page:title=Target Page|type=confluence-content|required=true|desc=check if editable $permissionHelper.canEdit($action.remoteUser, $paramPage) {code} h3. Expected Results If the function returns true it displays 'true'. If the user does not have permission, this should return 'false'. h3. Actual Results The below exception is thrown in the browser: {noformat} Oops - an error has occurred logo System Error A system error has occurred — our apologies! For immediate troubleshooting, consult our knowledge base for a solution. If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information: a description of your problem and what you were doing at the time it occurred a copy of the error and system information found below a copy of the application logs (if possible). Your Confluence administrator can use the support request form to create a support ticket which will include this information. We will respond as promptly as possible. Thank you! Return to site homepage… Cause java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:202) caused by: java.lang.RuntimeException: Error rendering template for decorator page at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:202) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDisplayableItems' in class com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager threw exception net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection at template/includes/menu-macros.vm[line 133, column 45] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) 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:3332) Stack Trace:[hide] java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:202) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) ... Caused by: net.sf.hibernate.HibernateException: collection was evicted at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3332) at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:195) ... 487 more {noformat} h3.Workaround No workaround found so far
    via by Daniel Ponzio [Atlassian],
  • h3. Summary When visiting a page in Confluence with JIRA Issues Macro, a stack trace will be seen. h3. Environment Confluence 5.9.0-OD-57-010 h3. Steps to Reproduce # Visit or create a page on the instance with JIRA Issues macro. # Instead of page loading, you receive below stack trace. h3. Expected Results Generally page should load without problem. h3. Actual Results {noformat} java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:202) caused by: java.lang.RuntimeException: Error rendering template for decorator page at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:202) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDisplayableItems' in class com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager threw exception net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection at template/includes/menu-macros.vm[line 125, column 45] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) 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:3332){noformat} h3.Workaround Raise a support request in the Atlassian Cloud project at [support.atlassian.com|https://support.atlassian.com] to have Support apply the fix to your instance. No downtime is required.
    via by Shannon Mackie [Atlassian],
  • h3. Summary When using the $permissionHelper.canEdit($action.remoteUser, $pageVar) with a user and page Object, if the function returns true it displays 'true' in a page. If the user does not have permission, this should return false. Instead it returns the stack trace below. h3. Environment * Mac OS X * Java 1.8 h3. Steps to Reproduce # Create a user macro to read in a target page and then check if the user has permission as follows: {code} ## @param Page:title=Target Page|type=confluence-content|required=true|desc=check if editable $permissionHelper.canEdit($action.remoteUser, $paramPage) {code} h3. Expected Results If the function returns true it displays 'true'. If the user does not have permission, this should return 'false'. h3. Actual Results The below exception is thrown in the browser: {noformat} Oops - an error has occurred logo System Error A system error has occurred — our apologies! For immediate troubleshooting, consult our knowledge base for a solution. If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information: a description of your problem and what you were doing at the time it occurred a copy of the error and system information found below a copy of the application logs (if possible). Your Confluence administrator can use the support request form to create a support ticket which will include this information. We will respond as promptly as possible. Thank you! Return to site homepage… Cause java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:202) caused by: java.lang.RuntimeException: Error rendering template for decorator page at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:202) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDisplayableItems' in class com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager threw exception net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection at template/includes/menu-macros.vm[line 133, column 45] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) 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:3332) Stack Trace:[hide] java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:202) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) ... Caused by: net.sf.hibernate.HibernateException: collection was evicted at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3332) at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:195) ... 487 more {noformat} h3.Workaround No workaround found so far
    via by Daniel Ponzio [Atlassian],
  • Reported by Boots in [https://support.atlassian.com/browse/CSP-19822], though need to confirm if she took the same steps as me. If I enter this [http://extranet.atlassian.com/dosearchsite.action?quickSearch=true&searchQuery.queryString=%s] on EAC I get the following null pointer exception. {noformat} CONFLUENCE System Error A system error has occurred - our apologies! Please contact your Confluence administrator to create a support issue on our support system at http://support.atlassian.com with the following information: 1. a description of your problem and what you were doing at the time it occurred 2. cut & paste the error and system information found below 3. attach the application server log file (if possible). We will respond as promptly as possible. Thank you! Cause: java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:234) caused by: java.lang.RuntimeException: Error rendering template for decorator search at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:234) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getRelatedLabels' in class com.atlassian.confluence.search.actions.SearchSiteAction threw exception java.lang.NullPointerException @ /search/searchpanel.vm[45,14] at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:205) caused by: java.lang.NullPointerException at com.atlassian.confluence.search.actions.SearchSiteAction.splitSearchToLabels(SearchSiteAction.java:375) Stack Trace: [hide] java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:234) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.Template.merge(Template.java:254) at com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:91) at com.atlassian.xwork.results.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:21) at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116) at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.interceptors.CaptchaInterceptor.intercept(CaptchaInterceptor.java:46) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:48) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.CancellingInterceptor.intercept(CancellingInterceptor.java:23) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:54) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.CommentAwareInterceptor.intercept(CommentAwareInterceptor.java:43) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:67) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:97) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:143) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:142) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:88) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:64) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.RuntimeException: Error rendering template for decorator search at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:234) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.Template.merge(Template.java:254) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:53) at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:229) ... 119 more Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getRelatedLabels' in class com.atlassian.confluence.search.actions.SearchSiteAction threw exception java.lang.NullPointerException @ /search/searchpanel.vm[45,14] at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:205) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419) at org.apache.velocity.runtime.parser.node.ASTGTNode.evaluate(ASTGTNode.java:78) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:64) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:86) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:224) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.Template.merge(Template.java:254) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:53) at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:229) ... 130 more Caused by: java.lang.NullPointerException at com.atlassian.confluence.search.actions.SearchSiteAction.splitSearchToLabels(SearchSiteAction.java:375) at com.atlassian.confluence.search.actions.SearchSiteAction.getMatchingLabels(SearchSiteAction.java:229) at com.atlassian.confluence.search.actions.SearchSiteAction.getRelatedLabels(SearchSiteAction.java:243) at sun.reflect.GeneratedMethodAccessor890.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:137) at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:350) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:180) ... 142 more Referer URL: Unknown Build Information: buildNumber: 1403 upTime: 7 days, 1 hour, 27 minutes, 23 seconds devMode: false version: 2.9-m3 home: /opt/j2ee/domains/atlassian.com/extranet/root/webapps/atlassian-confluence/data Unique ID: 0x0000011A761D90003FF616308693788AD6BF073F0147A6E0C56082A3C4D05CF8 Server Information: Application Server: Apache Tomcat/5.5.26 Servlet Version: 2.4 Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect Database Driver Name: null Database Driver Version: 8.1 Database Name: PostgreSQL Database Version: 8.2.6 Database Transaction Isolation: Read committed Database Latency: 4 Memory Information: Total Memory: 995 MB Used Memory: 816 MB Free Memory: 179 MB System Information: userName: j2ee favouriteColour: Myrtle time: 00:33:46 javaVm: Java HotSpot(TM) Server VM operatingSystemArchitecture: i386 date: Wednesday, 11 Jun 2008 operatingSystem: Linux 2.6.9-67.0.4.ELsmp jvmVersion: 1.0 userTimezone: America/Chicago fileSystemEncoding: ANSI_X3.4-1968 jvmImplementationVersion: 1.5.0_11-b03 appServer: Apache Tomcat javaVendor: Sun Microsystems Inc. javaVersion: 1.5.0_11 javaRuntime: Java(TM) 2 Runtime Environment, Standard Edition jvmVendor: Sun Microsystems Inc. Cluster Information: Name: extranet Description: TangosolClusterInformation: extranet, listening on 235.54.69.161:32357 Members: Member(Id=1, Timestamp=2008-06-03 23:06:26.294, Address=172.16.0.11:8088, MachineId=57136, Location=process:9975@atlassian11.managed.contegi) Member(Id=2, Timestamp=2008-06-03 23:07:15.758, Address=172.16.0.10:8088, MachineId=57135, Location=process:6465@atlassian10.managed.contegi) Enabled Plugins: Content Action Menu Sections (confluence.content.action.menu, Version: 1.0) Basic Macros (confluence.macros.basic, Version: 1.3) Blogging Leaderboard (confluence.extra.blogstats, Version: 0.6) Global Labels Sections (confluence.sections.labels, Version: 1.0) Composition Plugin (net.customware.confluence.plugin.composition, Version: 2.3) Page Operations (confluence.sections.page.operations, Version: 1.0) French language pack (confluence.languages.fr_FR, Version: 1.6) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Browse Menu Items (confluence.sections.browse, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.5) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 3.0-rc1) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Snippet Plugin (com.atlassian.confluence.extra.snippet, Version: 2.1-SNAPSHOT) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 2.0-rc1) Voting Macros (com.nearinfinity.confluence.macros.vote, Version: 1.2) YourKit Profiling Plugin (com.atlassian.confluence.ext.yourkit, Version: 0.4) Find Email (com.atlassian.confluence.extra, Version: 1.0) News Tabs (confluence.sections.news, Version: 1.0) Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.10) Core Path Converters (confluence.converters.core, Version: 1.0) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Wiki Renderer Components (confluence.renderer.components, Version: 1.0) Compatibility Macros (confluence.macros.compatibility, Version: 1.3) Page Tree (bnpparibas.confluence.pagetree, Version: 1.7.1-SNAPSHOT) Bamboo Theme (com.atlassian.confluence.themes.bamboo, Version: 0.1) Live Search Macros (confluence.extra.livesearch, Version: 2.7) Flash Plugin (org.swift.confluence.flash, Version: 3.0) Page View Links (confluence.sections.page.actions, Version: 1.0) Script Plugin (org.swift.confluence.script, Version: 3.1.1-NG) System Web Resources (confluence.web.resources, Version: 1.0) GraphViz Plugin (confluence.extra.graphviz, Version: 1.3) User Information (com.atlassian.confluence.extra.userinfo, Version: 1.0) JIRA Macros (confluence.extra.jira, Version: 2.7) German language pack (confluence.languages.de_DE, Version: 1.2) Global Statistics Plugin (confluence.extra.globalstats, Version: 1.0) Space Browse Sections (confluence.sections.space.browse, Version: 1.0) Mail Page Plugin (com.atlassian.confluence.ext.mailpage, Version: 1.5) Advanced Macros (confluence.macros.advanced, Version: 1.3) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) SQL Plugin (org.swift.confluence.sql, Version: 3.3.0) Collapsible Rss Plugin (com.atlassian.confluence.plugins.collapsiblerss, Version: 0.8) Table Plugin (org.swift.confluence.table, Version: 3.3.1) Search Web Interface (confluence.sections.search.view, Version: 1.0) Dynamic Table Macros (revere.confluence.dynamictable, Version: 1.2) Default Theme (com.atlassian.confluence.themes.default, Version: 1.0) Gliffy Plugin (com.gliffy.integration.confluence, Version: 1.3.6) Fisheye Plugin (com.atlassian.confluence.extra.fisheye-plugin, Version: 0.3) Chart Plugin (confluence.extra.chart, Version: 1.9.1) HTML Macros (confluence.macros.html, Version: 1.3) User Listener (confluence.extra.userlister, Version: 2.3) Information Macros (confluence.extra.information, Version: 1.0) Pagetree Search (com.atlassian.confluence.plugins.pagetreesearch, Version: 1.1-confluence27) WebDAV Plugin (confluence.extra.webdav, Version: 1.2.3) Profile Tabs (confluence.sections.profile, Version: 1.0) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.9-m3) Admin Sections (confluence.sections.admin, Version: 1.0) Page Operations Plugin (com.atlassian.confluence.extra.pageops, Version: 1.0) Content Buttons (confluence.sections.page.temp, Version: 1.0) Google Calendar Plugin (net.customware.confluence.plugin.google.calendar, Version: 1.3) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) EditGrid Plugin (com.editgrid.confluence.spreadsheet, Version: 2.0.1) Adaptavist Content Formatting Macros (com.adaptavist.confluence.contentFormattingMacros, Version: 1.6.5) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Core Extractors (confluence.extractors.core, Version: 1.4) Page Tabs (confluence.sections.page, Version: 1.0) View Profile Web Interface (confluence.sections.profile.view, Version: 1.0) Run Plugin (org.swift.confluence.run, Version: 0.7) View Raw Data (com.atlassian.confluence.plugin.viewrawdata, Version: 0.1) Core Listeners (confluence.listeners.core, Version: 1.3) Dynamic Task List 2 Plugin (confluence.extra.dynamictasklist2, Version: 3.0.4) Dashboard Macros (confluence.macros.dashboard, Version: 1.3) Comment Action Sections (confluence.comment.action, Version: 1.0) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 2.0-rc1) Attachment Actions (confluence.sections.attachments, Version: 1.0) Layout Macros (confluence.extra.layout, Version: 1.1) Add Content Menu Sections (confluence.menu.add, Version: 1.0) Metadata Plugin (org.andya.confluence.plugins.metadata, Version: 2.1.0) Excel Plugin (org.swift.confluence.excel, Version: 3.3.0) Tabular Metadata (confluence.extra.masterdetail, Version: 2.7) Space Admin Sections (confluence.sections.space.admin, Version: 1.0) Google Maps Plugin (com.atlassian.confluence.ext.gmaps, Version: 0.5) Cache Plugin (org.swift.confluence.cache, Version: 3.1.0) Calendar Plugin (confluence.extra.calendar, Version: 2.6.1) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.1) Page Tabs (confluence.search.mappers.lucene, Version: 1.0) Confluence Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.13) Slideshow Plugin (com.atlassian.confluence.ext.slideshow, Version: 0.3) FreeMind Plugin (com.atlassian.confluence.contrib.freemind, Version: 1.0.2) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.1.1) User Menu Sections (confluence.user.menu, Version: 1.0) Contributors Plugin (confluence.authors, Version: 0.8) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 2.0-rc1) RSVP Plugin (com.atlassian.confluence.extra.rsvp, Version: 1.5-SNAPSHOT) BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2) Code Macro (confluence.macros.code, Version: 1.4) Space Item Tabs (confluence.sections.space, Version: 1.0) Request Information: URL: http://extranet.atlassian.com/500page.jsp - Scheme: http - Server: extranet.atlassian.com - Port: 80 - URI: /500page.jsp - - Context Path: - - Servlet Path: /500page.jsp - - Path Info: - - Query String: quickSearch=true&searchQuery.queryString=%s foofoo Attributes: - javax.servlet.forward.request_uri : /dosearchsite.action - javax.servlet.forward.context_path : - javax.servlet.forward.servlet_path : /dosearchsite.action - javax.servlet.forward.path_info : /500page.jsp - javax.servlet.forward.query_string : quickSearch=true&searchQuery.queryString=%s - javax.servlet.error.message : - javax.servlet.error.exception : java.lang.RuntimeException: Error rendering template for decorator root - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - __sitemesh__using_stream : false - javax.servlet.error.request_uri : /dosearchsite.action - com.atlassian.gzipfilter.GzipFilter_already_filtered : true - javax.servlet.error.status_code : 500 - gzipMimeTypes : text/html,text/javascript,text/css,text/plain,application/x-javascript,application/javascript - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@18bb99b - Confluence-Request-Time : 1213162426278 - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /dosearchsite.action?quickSearch=true&searchQuery.queryString=%s - javax.servlet.jsp.jspException : java.lang.RuntimeException: Error rendering template for decorator root - sessioninview.FILTERED : true Parameters: - quickSearch = true Confluence User: - anonymous Logging: 0 log statements generated by this request. {noformat}
    via by Partha Kamal [Atlassian],
  • To begin developing a Confluence plugin: {noformat} mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create -DarchetypeGroupId=com.atlassian.maven.archetypes -DarchetypeArtifactId=confluence-plugin-archetype -DarchetypeVersion=14 -DremoteRepositories=https://maven.atlassian.com/repository/public/ -DgroupId=com.palm.confluence.plugin -DartifactId=blank {noformat} and then from the new 'blank' directory, ran {noformat} mvn -Pplugin-debug {noformat} and then logged into http://localhost:1990/confluence and then click the 'Demonstration Space' link and I get {noformat} System Error A system error has occurred — our apologies! Please ask your Confluence administrator to create a support issue on Atlassian's support system at http://support.atlassian.com with the following information: 1. a description of your problem and what you were doing at the time it occurred 2. a copy of the error and system information found below 3. a copy of the application logs (if possible). Your Confluence administrator can use the support request form to create a support ticket which will include this information. We will respond as promptly as possible. Thank you! Return to site homepage... 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: 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 comments at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:232) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'formatFriendlyDate' in class com.atlassian.confluence.pages.actions.ViewPageAction threw exception java.lang.IllegalArgumentException: The datetime zone id is not recognised: SystemV/PST8PDT @ /decorators/components/comments.vmd[44,29] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286) caused by: java.lang.IllegalArgumentException: The datetime zone id is not recognised: SystemV/PST8PDT at org.joda.time.DateTimeZone.forTimeZone(DateTimeZone.java:310) {noformat}
    via by Renan Battaglin,
  • This page returns an error when visiting it on CAC after the 4.0 upgrade: [Using the Documentation Theme|http://confluence.atlassian.com/display/DOC/Using+the+Documentation+Theme]. {noformat} java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:203) caused by: java.lang.RuntimeException: Error rendering template for decorator page at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:203) 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 at template/includes/menu-macros.vm[line 137, column 36] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) caused by: com.atlassian.core.exception.InfrastructureException: Error occurred rendering template content at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedContent(VelocityUtils.java:123) 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 at getRenderedContent[line 1, column 15] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) 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:3303) {noformat}
    via by Matt Ryall,
    • java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:202)
    No Bugmate found.