org.apache.velocity.exception.MethodInvocationException: Invocation of method 'i sShowSillyMenus' in class com.atlassian.confluence.core.actions.StylesheetActio n threw exception class java.lang.NullPointerException : null

Atlassian JIRA | Ryan Ackley | 9 years ago
  1. 0

    I get the following stack trace in the console when trying to export the Demonstration Space that comes with Confluence to PDF (Its copied from the cmd window so it might look a little strange): 2007-07-31 11:43:38,588 ERROR [Export Space task] [confluence.util.velocity.Velo cityUtils] getRenderedTemplate Error occurred rendering template: styles/site-cs s.vm -- url: /spaces/doexportspace.action | userName: admin | action: doexportspace org.apache.velocity.exception.MethodInvocationException: Invocation of method 'i sShowSillyMenus' in class com.atlassian.confluence.core.actions.StylesheetActio n threw exception class java.lang.NullPointerException : null at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(Prop ertyExecutor.java:188) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIden tifier.java:226) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer ence.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTRefe rence.java:337) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNod e.java:85) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExp ression.java:84) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfSt atement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode. java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTempl ateWithoutSwallowingErrors(VelocityUtils.java:53) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTempl ate(VelocityUtils.java:33) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTempl ate(VelocityUtils.java:26) at com.atlassian.confluence.core.actions.StylesheetAction.renderDefaultS tylesheet(StylesheetAction.java:51) at com.atlassian.confluence.importexport.impl.XHtmlCSSIntegrator.<init>( XHtmlCSSIntegrator.java:32) at com.atlassian.confluence.importexport.impl.WikiExporter.initializePre liminaries(WikiExporter.java:164) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToX slFo(WikiExporter.java:141) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToX slFo(WikiExporter.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j ava:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer ence.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTRefere nce.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode. java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(Templat eSupport.java:70) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo( PdfExporter.java:173) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity (PdfExporter.java:97) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportSpace(AbstractRendererExporterImpl.java:127) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.doExport(AbstractRendererExporterImpl.java:109) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfEx porter.java:63) at com.atlassian.confluence.importexport.DefaultImportExportManager.expo rtAs(DefaultImportExportManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.in voke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:176) at $Proxy48.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask$2.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:85) at org.springframework.transaction.support.TransactionCallbackWithoutRes ult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(T ransactionTemplate.java:114) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask.runInternal(ExportSpaceLongRunningTask.java:61) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunni ngTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Thread.java:595) caused by: java.lang.NullPointerException at com.atlassian.confluence.core.ConfluenceActionSupport.isShowSillyMenu s(ConfluenceActionSupport.java:658) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(Prop ertyExecutor.java:154) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIden tifier.java:226) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer ence.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTRefe rence.java:337) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNod e.java:85) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExp ression.java:84) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfSt atement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode. java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTempl ateWithoutSwallowingErrors(VelocityUtils.java:53) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTempl ate(VelocityUtils.java:33) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTempl ate(VelocityUtils.java:26) at com.atlassian.confluence.core.actions.StylesheetAction.renderDefaultS tylesheet(StylesheetAction.java:51) at com.atlassian.confluence.importexport.impl.XHtmlCSSIntegrator.<init>( XHtmlCSSIntegrator.java:32) at com.atlassian.confluence.importexport.impl.WikiExporter.initializePre liminaries(WikiExporter.java:164) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToX slFo(WikiExporter.java:141) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToX slFo(WikiExporter.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j ava:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer ence.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTRefere nce.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode. java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(Templat eSupport.java:70) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo( PdfExporter.java:173) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity (PdfExporter.java:97) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportSpace(AbstractRendererExporterImpl.java:127) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.doExport(AbstractRendererExporterImpl.java:109) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfEx porter.java:63) at com.atlassian.confluence.importexport.DefaultImportExportManager.expo rtAs(DefaultImportExportManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.in voke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:176) at $Proxy48.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask$2.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:85) at org.springframework.transaction.support.TransactionCallbackWithoutRes ult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(T ransactionTemplate.java:114) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask.runInternal(ExportSpaceLongRunningTask.java:61) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunni ngTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Thread.java:595) 2007-07-31 11:43:41,104 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=c4b69a7 f15f8fa8e7458f82670e090c152e3938db010c0a3cbdac1a9e41979150Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,229 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=f4e6aa7 f5568ea2e8b1cbb8ad18807485c59a05540b021e142625333d474a5350Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,276 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=94c6eaa f15889aae4bec7bba715c1fb1d09606ecf0f031b11292f3630474e5750Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,276 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=94c6eaa f15889aae4bec7bba715c1fb1d09606ecf0f031b11292f3630474e5750Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,745 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=44e65a5 f0568eafe9498985ab030c76ccebac2e3402070836bca4179b4a999450Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,838 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=b406ba8 f25888a6f1b9c7b2e5154b395eef12108d0f0b1c182f2b383f4e4b5250Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,885 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=1406aa0 f95c8ea7f4b1ceb0ea1b9ee54c1893b6e30207171322273f39424a5450Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,885 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=1406aa0 f95c8ea7f4b1ceb0ea1b9ee54c1893b6e30207171322273f39424a5450Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:42,745 ERROR [Export Space task] [[Standalone].[localhost].[/]. [default]] invoke Servlet.service() for servlet default threw exception -- url: /spaces/doexportspace.action | userName: admin | action: doexportspace java.lang.NullPointerException at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServ let.java:722) at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java :376) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD ispatcher.java:594) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis patcher.java:505) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportResource(AbstractRendererExporterImpl.java:208) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportImages(AbstractRendererExporterImpl.java:151) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo( PdfExporter.java:174) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity (PdfExporter.java:97) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportSpace(AbstractRendererExporterImpl.java:127) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.doExport(AbstractRendererExporterImpl.java:109) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfEx porter.java:63) at com.atlassian.confluence.importexport.DefaultImportExportManager.expo rtAs(DefaultImportExportManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.in voke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:176) at $Proxy48.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask$2.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:85) at org.springframework.transaction.support.TransactionCallbackWithoutRes ult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(T ransactionTemplate.java:114) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask.runInternal(ExportSpaceLongRunningTask.java:61) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunni ngTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Thread.java:595) 2007-07-31 11:43:42,745 ERROR [Export Space task] [core.task.longrunning.Abstrac tLongRunningTask] doInTransactionWithoutResult Error during export -- url: /spaces/doexportspace.action | userName: admin | action: doexportspace com.atlassian.confluence.importexport.ImportExportException: java.lang.NullPoint erException at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo( PdfExporter.java:178) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity (PdfExporter.java:97) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportSpace(AbstractRendererExporterImpl.java:127) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.doExport(AbstractRendererExporterImpl.java:109) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfEx porter.java:63) at com.atlassian.confluence.importexport.DefaultImportExportManager.expo rtAs(DefaultImportExportManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.in voke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:176) at $Proxy48.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask$2.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:85) at org.springframework.transaction.support.TransactionCallbackWithoutRes ult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(T ransactionTemplate.java:114) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask.runInternal(ExportSpaceLongRunningTask.java:61) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunni ngTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NullPointerException at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServ let.java:722) at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java :376) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD ispatcher.java:594) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis patcher.java:505) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportResource(AbstractRendererExporterImpl.java:208) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportImages(AbstractRendererExporterImpl.java:151) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo( PdfExporter.java:174) ... 22 more

    Atlassian JIRA | 9 years ago | Ryan Ackley
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'i sShowSillyMenus' in class com.atlassian.confluence.core.actions.StylesheetActio n threw exception class java.lang.NullPointerException : null
  2. 0

    I get the following stack trace in the console when trying to export the Demonstration Space that comes with Confluence to PDF (Its copied from the cmd window so it might look a little strange): 2007-07-31 11:43:38,588 ERROR [Export Space task] [confluence.util.velocity.Velo cityUtils] getRenderedTemplate Error occurred rendering template: styles/site-cs s.vm -- url: /spaces/doexportspace.action | userName: admin | action: doexportspace org.apache.velocity.exception.MethodInvocationException: Invocation of method 'i sShowSillyMenus' in class com.atlassian.confluence.core.actions.StylesheetActio n threw exception class java.lang.NullPointerException : null at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(Prop ertyExecutor.java:188) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIden tifier.java:226) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer ence.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTRefe rence.java:337) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNod e.java:85) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExp ression.java:84) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfSt atement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode. java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTempl ateWithoutSwallowingErrors(VelocityUtils.java:53) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTempl ate(VelocityUtils.java:33) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTempl ate(VelocityUtils.java:26) at com.atlassian.confluence.core.actions.StylesheetAction.renderDefaultS tylesheet(StylesheetAction.java:51) at com.atlassian.confluence.importexport.impl.XHtmlCSSIntegrator.<init>( XHtmlCSSIntegrator.java:32) at com.atlassian.confluence.importexport.impl.WikiExporter.initializePre liminaries(WikiExporter.java:164) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToX slFo(WikiExporter.java:141) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToX slFo(WikiExporter.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j ava:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer ence.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTRefere nce.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode. java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(Templat eSupport.java:70) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo( PdfExporter.java:173) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity (PdfExporter.java:97) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportSpace(AbstractRendererExporterImpl.java:127) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.doExport(AbstractRendererExporterImpl.java:109) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfEx porter.java:63) at com.atlassian.confluence.importexport.DefaultImportExportManager.expo rtAs(DefaultImportExportManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.in voke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:176) at $Proxy48.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask$2.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:85) at org.springframework.transaction.support.TransactionCallbackWithoutRes ult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(T ransactionTemplate.java:114) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask.runInternal(ExportSpaceLongRunningTask.java:61) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunni ngTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Thread.java:595) caused by: java.lang.NullPointerException at com.atlassian.confluence.core.ConfluenceActionSupport.isShowSillyMenu s(ConfluenceActionSupport.java:658) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(Prop ertyExecutor.java:154) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIden tifier.java:226) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer ence.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTRefe rence.java:337) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNod e.java:85) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExp ression.java:84) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfSt atement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode. java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTempl ateWithoutSwallowingErrors(VelocityUtils.java:53) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTempl ate(VelocityUtils.java:33) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTempl ate(VelocityUtils.java:26) at com.atlassian.confluence.core.actions.StylesheetAction.renderDefaultS tylesheet(StylesheetAction.java:51) at com.atlassian.confluence.importexport.impl.XHtmlCSSIntegrator.<init>( XHtmlCSSIntegrator.java:32) at com.atlassian.confluence.importexport.impl.WikiExporter.initializePre liminaries(WikiExporter.java:164) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToX slFo(WikiExporter.java:141) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToX slFo(WikiExporter.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j ava:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer ence.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTRefere nce.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode. java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(Templat eSupport.java:70) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo( PdfExporter.java:173) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity (PdfExporter.java:97) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportSpace(AbstractRendererExporterImpl.java:127) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.doExport(AbstractRendererExporterImpl.java:109) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfEx porter.java:63) at com.atlassian.confluence.importexport.DefaultImportExportManager.expo rtAs(DefaultImportExportManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.in voke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:176) at $Proxy48.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask$2.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:85) at org.springframework.transaction.support.TransactionCallbackWithoutRes ult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(T ransactionTemplate.java:114) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask.runInternal(ExportSpaceLongRunningTask.java:61) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunni ngTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Thread.java:595) 2007-07-31 11:43:41,104 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=c4b69a7 f15f8fa8e7458f82670e090c152e3938db010c0a3cbdac1a9e41979150Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,229 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=f4e6aa7 f5568ea2e8b1cbb8ad18807485c59a05540b021e142625333d474a5350Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,276 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=94c6eaa f15889aae4bec7bba715c1fb1d09606ecf0f031b11292f3630474e5750Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,276 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=94c6eaa f15889aae4bec7bba715c1fb1d09606ecf0f031b11292f3630474e5750Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,745 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=44e65a5 f0568eafe9498985ab030c76ccebac2e3402070836bca4179b4a999450Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,838 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=b406ba8 f25888a6f1b9c7b2e5154b395eef12108d0f0b1c182f2b383f4e4b5250Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,885 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=1406aa0 f95c8ea7f4b1ceb0ea1b9ee54c1893b6e30207171322273f39424a5450Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:41,885 WARN [Export Space task] [apache.commons.httpclient.Http MethodBase] processResponseHeaders Cookie rejected: "$Version=0; BBC-UID=1406aa0 f95c8ea7f4b1ceb0ea1b9ee54c1893b6e30207171322273f39424a5450Confluence%2f2%2e6%2dd r1%20%28http%3a%2f%2fwww%2eatlassian%2ecom%2fsoftware%2fconfluence%29; $Path=/; $Domain=bbc.co.uk". Domain attribute "bbc.co.uk" violates RFC 2109: domain must start with a dot 2007-07-31 11:43:42,745 ERROR [Export Space task] [[Standalone].[localhost].[/]. [default]] invoke Servlet.service() for servlet default threw exception -- url: /spaces/doexportspace.action | userName: admin | action: doexportspace java.lang.NullPointerException at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServ let.java:722) at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java :376) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD ispatcher.java:594) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis patcher.java:505) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportResource(AbstractRendererExporterImpl.java:208) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportImages(AbstractRendererExporterImpl.java:151) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo( PdfExporter.java:174) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity (PdfExporter.java:97) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportSpace(AbstractRendererExporterImpl.java:127) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.doExport(AbstractRendererExporterImpl.java:109) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfEx porter.java:63) at com.atlassian.confluence.importexport.DefaultImportExportManager.expo rtAs(DefaultImportExportManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.in voke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:176) at $Proxy48.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask$2.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:85) at org.springframework.transaction.support.TransactionCallbackWithoutRes ult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(T ransactionTemplate.java:114) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask.runInternal(ExportSpaceLongRunningTask.java:61) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunni ngTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Thread.java:595) 2007-07-31 11:43:42,745 ERROR [Export Space task] [core.task.longrunning.Abstrac tLongRunningTask] doInTransactionWithoutResult Error during export -- url: /spaces/doexportspace.action | userName: admin | action: doexportspace com.atlassian.confluence.importexport.ImportExportException: java.lang.NullPoint erException at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo( PdfExporter.java:178) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity (PdfExporter.java:97) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportSpace(AbstractRendererExporterImpl.java:127) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.doExport(AbstractRendererExporterImpl.java:109) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfEx porter.java:63) at com.atlassian.confluence.importexport.DefaultImportExportManager.expo rtAs(DefaultImportExportManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.in voke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:176) at $Proxy48.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask$2.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:85) at org.springframework.transaction.support.TransactionCallbackWithoutRes ult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(T ransactionTemplate.java:114) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningT ask.runInternal(ExportSpaceLongRunningTask.java:61) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunni ngTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NullPointerException at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServ let.java:722) at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java :376) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:188) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:691) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD ispatcher.java:594) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis patcher.java:505) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportResource(AbstractRendererExporterImpl.java:208) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterIm pl.exportImages(AbstractRendererExporterImpl.java:151) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo( PdfExporter.java:174) ... 22 more

    Atlassian JIRA | 9 years ago | Ryan Ackley
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'i sShowSillyMenus' in class com.atlassian.confluence.core.actions.StylesheetActio n threw exception class java.lang.NullPointerException : null
  3. 0

    Velocity Tempalte debugging and Catch exceptions

    Stack Overflow | 3 years ago | sunleo
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'get' in class java.util.ArrayList threw exception class java.lang.IndexOutOfBoundsException : Index: 1, Size: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [testng-users] how to use testng and reportng with ant

    Google Groups | 6 years ago | ubuntuuser
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getUser' in class org.uncommons.reportng.ReportMetadata threw exception class java.net.UnknownHostException : mobiusQA: mobiusQA at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:193) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
  6. 0

    GitHub comment 121#139469434

    GitHub | 1 year ago | idoiamurua
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'combine' in class eu.aliada.rdfizer.pipeline.format.xml.OXPath threw exception java.lang.Error: Unresolved compilation problems: subfield cannot be resolved to a variable Syntax error on tokens, ( expected instead i cannot be resolved to a variable The type of the expression must be an array type but it resolved to int Syntax error on token ";", [ expected i cannot be resolved to a variable Syntax error, insert "]" to complete ArrayAccess Syntax error, insert ")" to complete Expression Syntax error, insert ")" to complete VariableInitializer i cannot be resolved to a variable Syntax error on token ")", ; expected i cannot be resolved to a variable i cannot be resolved to a variable subfield cannot be resolved Syntax error on tokens, Expression expected instead Syntax error on token ",", . expected Syntax error on token "-", -- expected at marcxml.frbr.n3.vm[line 86, column 18]

    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. org.apache.velocity.exception.MethodInvocationException

      Invocation of method 'i sShowSillyMenus' in class com.atlassian.confluence.core.actions.StylesheetActio n threw exception class java.lang.NullPointerException : null

      at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute()
    2. Apache Velocity
      Template.merge
      1. org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:188)
      2. org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:226)
      3. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
      4. org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:337)
      5. org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:85)
      6. org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:84)
      7. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
      8. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
      9. org.apache.velocity.Template.merge(Template.java:296)
      9 frames
    3. com.atlassian.confluence
      WikiExporter.exportWikiToXslFo
      1. com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:53)
      2. com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplate(VelocityUtils.java:33)
      3. com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplate(VelocityUtils.java:26)
      4. com.atlassian.confluence.core.actions.StylesheetAction.renderDefaultStylesheet(StylesheetAction.java:51)
      5. com.atlassian.confluence.importexport.impl.XHtmlCSSIntegrator.<init>(XHtmlCSSIntegrator.java:32)
      6. com.atlassian.confluence.importexport.impl.WikiExporter.initializePreliminaries(WikiExporter.java:164)
      7. com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:141)
      8. com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:102)
      8 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:585)
      2 frames
    5. Apache Velocity
      Template.merge
      1. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
      2. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
      3. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)
      4. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
      5. org.apache.velocity.Template.merge(Template.java:296)
      5 frames
    6. com.atlassian.confluence
      DefaultImportExportManager.exportAs
      1. com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:70)
      2. com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:173)
      3. com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:97)
      4. com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportSpace(AbstractRendererExporterImpl.java:127)
      5. com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:109)
      6. com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:63)
      7. com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:112)
      7 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:585)
      2 frames
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
      3 frames
    9. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      1 frame
    10. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
      2 frames
    11. Unknown
      $Proxy48.exportAs
      1. $Proxy48.exportAs(Unknown Source)
      1 frame
    12. com.atlassian.confluence
      ExportSpaceLongRunningTask$2.doInTransactionWithoutResult
      1. com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningTask$2.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:85)
      1 frame
    13. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
      2. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:114)
      2 frames
    14. com.atlassian.confluence
      ConfluenceAbstractLongRunningTask.run
      1. com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningTask.runInternal(ExportSpaceLongRunningTask.java:61)
      2. com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:21)
      2 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame