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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by conro, 1 year 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 atlassian.net by Unknown author, 1 year ago
Invocation of method 'getUserListForRole' in class com.iamhuy.jira.plugin.customfields.UserPickerProjectRole threw exception class java.lang.NullPointerException : null
via Atlassian JIRA by Andreas Knecht, 1 year ago
Invocation of method 'computeStartFor' in class com.pyxis.greenhopper.jira.boards.VersionBoard threw exception class java.lang.NoSuchMethodError : com.atlassian.jira.issue.search.SearchProvider.searchAndSort(Lcom/atlassian/jira/issue/search
via Atlassian JIRA by Andreas Knecht, 1 year ago
Invocation of method 'computeStartFor' in class com.pyxis.greenhopper.jira.boards.VersionBoard threw exception class java.lang.NoSuchMethodError : com.atlassian.jira.issue.search.SearchProvider.searchAndSort(Lcom/atlassian/jira/issue/search
via Atlassian JIRA by Jens Schumacher, 1 year ago
Invocation of method 'getInheritedViewPermissions' in class com.atlassian.confluence.pages.actions.CreatePageAction threw exception class net.sf.hibernate.LazyInitializationException : Failed to lazily initialize a collection
via Atlassian JIRA by Jens Schumacher, 1 year ago
Invocation of method 'getInheritedViewPermissions' in class com.atlassian.confluence.pages.actions.CreatePageAction threw exception class net.sf.hibernate.LazyInitializationException : Failed to lazily initialize a collection
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.