Script registry returns NPE

I get the below error when trying to run the script registry under built-in scripts. i'm on JIRA 6.4.1 and the latest scriptrunner update. Any ideas?

 

/rest/scriptrunner/latest/canned/com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Cannot invoke method startsWith() on null object
java.lang.NullPointerException: Cannot invoke method startsWith() on null object
at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getWorkflowInformation_closure2$_closure3$_closure4.doCall(ScriptRegistry.groovy:121)
at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getWorkflowInformation_closure2$_closure3$_closure5.doCall(ScriptRegistry.groovy:169)
at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getWorkflowInformation_closure2$_closure3.doCall(ScriptRegistry.groovy:168)
at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getWorkflowInformation_closure2.doCall(ScriptRegistry.groovy:81)
at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry.getWorkflowInformation(ScriptRegistry.groovy:77)
at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry.doScript(ScriptRegistry.groovy:47)

2 answers

Hell, same error with 3.1.14 on Jira 6.4.9.

Issue has already been created: https://jamieechlin.atlassian.net/browse/GRV-531 and fixed in version 4.0.1

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,419 views 15 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you