org.apache.velocity.exception.MethodInvocationException

Invocation of method 'getDocument' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException at xwiki:XWiki.WatchListMessage[line 74, column 31]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web572

  • via XWiki.org JIRA by Ludovic Dubost, 10 months ago
    Invocation of method 'getDocument' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException at xwiki:XWiki.WatchListMessage[line 74, column 31]
  • via XWiki.org JIRA by Manuel Smeria, 10 months ago
    Invocation of method 'parseMessage' in class com.xpn.xwiki.api.XWiki threw exception java.lang.IllegalArgumentException at /templates/viewattachrev.vm[line 4, column 12]
  • via Atlassian JIRA by Michael Seager [Atlassian], 11 months ago
    Invocation of method 'isUserRemovable' in class com.atlassian.confluence.user.actions.RemoveUserAction threw exception java.lang.NullPointerException at /admin/users/removeuser.vm[line 31, column 23]
  • Stack trace

    • org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDocument' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException at xwiki:XWiki.WatchListMessage[line 74, column 31] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)

    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

    You’re the first here who have seen this exception.