org.apache.velocity.exception.MethodInvocationException

Invocation of method 'getRenderedParam' in class com.atlassian.plugin.web.model.DefaultWebParam threw exception java.lang.NullPointerException at template/includes/menu-macros.vm[line 67, column 50] @4000000056164e301e5c9b1c at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) @4000000056164e301e5c9b1c at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) @4000000056164e301e5ca2ec at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) @4000000056164e301e5ca6d4 at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507) @4000000056164e301e5ca6d4 at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) @4000000056164e301e5cb674 at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) @4000000056164e301e5cb674 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) @4000000056164e301e5cba5c at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) @4000000056164e301e5cba5c at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) @4000000056164e301e5cc22c at org.apache.velocity.runtime.directive.Foreach.performIteration(Foreach.java:393) @4000000056164e301e5cc22c at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:316) @4000000056164e301e5cc614 at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) ... @4000000056164e301e608aec Caused by: java.lang.NullPointerException @4000000056164e301e608aec at com.atlassian.confluence.plugins.createcontent.impl.DefaultSpaceCollectionService$1.compare(DefaultSpaceCollectionService.java:120) @4000000056164e301e6092bc at com.atlassian.confluence.plugins.createcontent.impl.DefaultSpaceCollectionService$1.compare(DefaultSpaceCollectionService.java:116)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Ivan Maduro,
  • via Unknown by Ivan Maduro,
  • Stack trace

    • org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getRenderedParam' in class com.atlassian.plugin.web.model.DefaultWebParam threw exception java.lang.NullPointerException at template/includes/menu-macros.vm[line 67, column 50] @4000000056164e301e5c9b1c at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) @4000000056164e301e5c9b1c at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) @4000000056164e301e5ca2ec at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) @4000000056164e301e5ca6d4 at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507) @4000000056164e301e5ca6d4 at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) @4000000056164e301e5cb674 at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) @4000000056164e301e5cb674 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) @4000000056164e301e5cba5c at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) @4000000056164e301e5cba5c at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) @4000000056164e301e5cc22c at org.apache.velocity.runtime.directive.Foreach.performIteration(Foreach.java:393) @4000000056164e301e5cc22c at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:316) @4000000056164e301e5cc614 at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) ... @4000000056164e301e608aec Caused by: java.lang.NullPointerException @4000000056164e301e608aec at com.atlassian.confluence.plugins.createcontent.impl.DefaultSpaceCollectionService$1.compare(DefaultSpaceCollectionService.java:120) @4000000056164e301e6092bc at com.atlassian.confluence.plugins.createcontent.impl.DefaultSpaceCollectionService$1.compare(DefaultSpaceCollectionService.java:116) at java.util.TimSort.countRunAndMakeAscending(TimSort.java:351) at java.util.TimSort.sort(TimSort.java:216) at java.util.Arrays.sort(Arrays.java:1512)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.