setup:
- Jira 7.12
- MyGroovy is also installed (1.18.1)
after a JWME upgrade to 6.4.0:
any workflow with setting a value in a post function - failed with this:
2020-12-20 17:16:50,877 http-nio-8080-exec-14 ERROR xxxxxx /secure/QuickCreateIssue.jspa [c.innovalog.groovy.GroovyExpression] [Class:SetFieldValueFunction ; Workflow:xxxxxx; Transition:1 ; Is
sue:xxxxxx] Groovy Script threw error:
com.google.common.util.concurrent.ExecutionError: BUG! exception in phase 'instruction selection' in source unit 'script_9555e3a5716dd83c1826686b79cf9c6e.groovy' org.codehaus.groovy.ast.ModuleNode cannot be cast to org.codehaus.groovy.ast.AnnotationNodeCaused by: java.lang.ClassCastException: org.codehaus.groovy.ast.ModuleNode cannot be cast to org.codehaus.groovy.ast.AnnotationNode
at org.codehaus.groovy.transform.sc.StaticCompileTransformation.visit(StaticCompileTransformation.java:52)
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:318)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:965)
... 293 more
2020-12-20 17:16:50,886 http-nio-8080-exec-14 ERROR [o.a.c.c.C.[.[localhost].[/].[action]] Servlet.service() for servlet [action] in context with path [] threw exception [Servlet execution threw an exception] with root cause
java.lang.ClassCastException: org.codehaus.groovy.ast.ModuleNode cannot be cast to org.codehaus.groovy.ast.AnnotationNode
at org.codehaus.groovy.transform.sc.StaticCompileTransformation.visit(StaticCompileTransformation.java:52)
disabling MyGroovy fixed these issues.
does it point to conflicting Groovy versions? or similar?
thanks!