java.lang.NullPointerException: Cannot invoke method startsWith() on null object

JIRA | Juraj Drahos | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-718].{color} 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|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}Builtin script "Script registry" throws following exception: Error Cannot invoke method startsWith() on null object {color:red} {code} 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$_closure7.doCall(ScriptRegistry.groovy:176) at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getWorkflowInformation_closure2$_closure3.doCall(ScriptRegistry.groovy:176) 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) {code}{color}

    JIRA | 2 years ago | Juraj Drahos
    java.lang.NullPointerException: Cannot invoke method startsWith() on null object
  2. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-718].{color} 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|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}Builtin script "Script registry" throws following exception: Error Cannot invoke method startsWith() on null object {color:red} {code} 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$_closure7.doCall(ScriptRegistry.groovy:176) at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getWorkflowInformation_closure2$_closure3.doCall(ScriptRegistry.groovy:176) 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) {code}{color}

    JIRA | 2 years ago | Juraj Drahos
    java.lang.NullPointerException: Cannot invoke method startsWith() on null object

    Root Cause Analysis

    1. java.lang.NullPointerException

      Cannot invoke method startsWith() on null object

      at com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getWorkflowInformation_closure2$_closure3$_closure4.doCall()
    2. com.onresolve.scriptrunner
      ScriptRegistry.doScript
      1. com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getWorkflowInformation_closure2$_closure3$_closure4.doCall(ScriptRegistry.groovy:121)
      2. com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getWorkflowInformation_closure2$_closure3$_closure7.doCall(ScriptRegistry.groovy:176)
      3. com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getWorkflowInformation_closure2$_closure3.doCall(ScriptRegistry.groovy:176)
      4. com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry$_getWorkflowInformation_closure2.doCall(ScriptRegistry.groovy:81)
      5. com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry.getWorkflowInformation(ScriptRegistry.groovy:77)
      6. com.onresolve.scriptrunner.canned.jira.admin.ScriptRegistry.doScript(ScriptRegistry.groovy:47)
      6 frames