org.apache.velocity.exception.MethodInvocationException

Invocation of method 'getCannedScripts' in class com.onresolve.jira.groovy.CannedScriptRunner threw exception class java.lang.ClassNotFoundException : com.onresolve.jira.groovy.canned.workflow.postfunctions (/Users/XZ/src/main/resources/com/onresolve/jira/groovy/canned/workflow/postfunctions) does not appear to be a valid package

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 JIRA by conro, 9 months ago
    Invocation of method 'getCannedScripts' in class com.onresolve.jira.groovy.CannedScriptRunner threw exception class java.lang.ClassNotFoundException : com.onresolve.jira.groovy.canned.workflow.postfunctions (/Users/XZ/src/main/resources/com/onresolve/jira/groovy/canned/workflow/postfunctions) does not appear to be a valid package
  • via JIRA by Reece Lander, 1 month ago
    Invocation of method 'getInheritedCFDefaults' in class com.javahollic.jira.emh.ui.action.JEMHProjectMapping threw exception java.lang.NullPointerException at templates/com/javahollic/jira/jemh/ui/configuration/edit/project-config.vm[line 245, column 32]
  • via Atlassian JIRA by Nick Pellow [Atlassian], 1 year ago
    Invocation of method 'hasAttachFilePermissions' in class com.atlassian.confluence.pages.actions.InsertImageInDraftAction threw exception java.lang.IllegalStateException: Space does not exist at /users/insertimage-popup-common.vm[line 25, column 52]
  • Stack trace

    • org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getCannedScripts' in class com.onresolve.jira.groovy.CannedScriptRunner threw exception class java.lang.ClassNotFoundException : com.onresolve.jira.groovy.canned.workflow.postfunctions (/Users/XZ/src/main/resources/com/onresolve/jira/groovy/canned/workflow/postfunctions) does not appear to be a valid package at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:251) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256)

    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.