org.apache.velocity.exception.MethodInvocationException

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.

  • 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
    via by Ryan Ackley,
  • 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
    via by Ryan Ackley,
  • GitHub comment 121#139469434
    via GitHub by idoiamurua
    ,
  • AndroMDA / Mailing Lists
    via by Unknown author,
  • Re: Roller 5.0 with MSSQL SERVER database
    via by nickpadilla,
  • Here is the exception I get: 2004-02-06 15:44:25,375 ERROR [opensymphony.webwork.dispatcher.VelocityResult] Unable to render Velocity Template, '/admin/users/viewuser.vm' org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isUserDeactivated' in class com.atlassian.confluence.user.actions.ViewUserAction threw exception class java.lang.NullPointerException : null at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:188) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:226) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:337) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:84) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.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.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:88) at com.atlassian.confluence.util.profiling.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:18) at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:53) at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:274) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:18) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:40) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:182) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:129) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:36) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:61) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:83) at com.atlassian.confluence.setup.SpringSessionInViewFilter.doFilterInternal(SpringSessionInViewFilter.java:32) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:39) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:534)
    via by Armond Avanes,
  • Even if I'm watching the page, selected the "to previous" link on the "previous versions" page throws a nullpointer. "to current" works fine. Cause: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isUserWatchingSpace' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.lang.NullPointerException : null Stack Trace: [hide] org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isUserWatchingSpace' in class com.atlassian.confluence.pages.actions.DiffPagesAction threw exception class java.lang.NullPointerException : null at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:188) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:226) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:337) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:85) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:84) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:232) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:88) at com.atlassian.confluence.util.profiling.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:18) at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:53) at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:274) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:58) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:32) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:18) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:40) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:182) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:129) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:36) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:83) at com.atlassian.confluence.setup.SpringSessionInViewFilter.doFilterInternal(SpringSessionInViewFilter.java:32) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:534)
    via by Mark Derricutt,
    • 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(PropertyExecutor.java:188) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:226) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:337) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:85) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:84) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.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.getRenderedTemplateWithoutSwallowingErrors(VelocityUtils.java:53) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplate(VelocityUtils.java:33) at com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplate(VelocityUtils.java:26) at com.atlassian.confluence.core.actions.StylesheetAction.renderDefaultStylesheet(StylesheetAction.java:51) at com.atlassian.confluence.importexport.impl.XHtmlCSSIntegrator.<init>(XHtmlCSSIntegrator.java:32) at com.atlassian.confluence.importexport.impl.WikiExporter.initializePreliminaries(WikiExporter.java:164) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:141) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.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(TemplateSupport.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.AbstractRendererExporterImpl.exportSpace(AbstractRendererExporterImpl.java:127) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:109) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:63) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy48.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningTask$2.doInTransactionWithoutResult(ExportSpaceLongRunningTask.java:85) at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:114) at com.atlassian.confluence.importexport.actions.ExportSpaceLongRunningTask.runInternal(ExportSpaceLongRunningTask.java:61) at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:21) at java.lang.Thread.run(Thread.java:595)
    No Bugmate found.