You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
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!
It's saying that you have a groovy script that is no longer valid for the current API - this might be the actual script, but it looks more like MyGroovy isn't working for this version of Jira. Check the compatibility of the current version of the app.
thanks!
well - it did not complain before my JMWE upgrade to 6.4.0. and MyGroovy I have is the most recent available version and has not been messed with.
Is there a way to check what Groovy versions are used in both plugins? unpacking a jar, looking for a specific class?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That implies your script is calling something in JMWE, a class that has changed such that it can't use it any more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It does look like an incompatibility between JMWE and MyGroovy. From which version of JMWE did you upgrade? Also, did you try to restart Jira to see if it fixes the issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
6.3.5 -> 6.4.0
no, did not try to restart yet... waiting for another maintenance window
thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.