NullPointerException with Groovy condition breaks JIRA Workflow Designer
*This issue has moved*
This issue has been moved permanently to Adaptavist's Product Support JIRA instance.
All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the
Can't access your account link in order to reset to a new password.
Not sure whether to raise this against JWD or GRV so my apologies if Groovy Runner is innocent!
I've just discovered that the JIRA Workflow Designer cannot display workflows which have a script condition. JWD throws a java.lang.reflect.InvocationTargetException which ends with a final Caused by: java.lang.NullPointerException at com.onresolve.jira.groovy.GroovyConditionFactory.getVelocityParamsForView(GroovyConditionFactory.java:105)
If I take out the condition JWD can display the workflow.
I tried the conditions
for good measure and got the same error each time.
I've attached the stack trace. Any advice appreciated!
JIRA 4.0.2 standalone with Groovy Runner plugin 188.8.131.52 with fix for and JIRA Workflow Designer Plugin v1.3.1 using groovy 1.7.10
Partially fixed in 1.7.7 - at least it should not throw an error
Hi... probably a bug for me to fix. Have done a quick hack which I'll release shortly, but leave the other issue open because I have some questions for Jon Doklovic.
I've also raised JWD-33 in case the problem's with the JIRA Workflow Designer.