Script registry returns NPE

Jason Smith April 22, 2015

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

0 votes
Ronald van Rij August 18, 2015

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

0 votes
Michel KATZ August 6, 2015

Hell, same error with 3.1.14 on Jira 6.4.9.

Suggest an answer

Log in or Sign up to answer