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

JIRA | Fabrizio | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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-135].{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}I've created a listener for issue creation that send an email. The recipient for the email is read from a customfield Looking from this error, seems that he try to send the email before the field is valued. is it possible? The issue are created from email with extendable mail handler plugin {code} ERROR logadmin 631x57874x1 51adeu 85.18.250.182,127.0.0.1 /secure/admin/groovy/CannedScriptListener.jspa [onresolve.jira.groovy.GroovyRunner] The script failed : java.lang.NullPointerException: Cannot invoke method split() on null object java.lang.NullPointerException: Cannot invoke method split() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45){code} If i enable the listener for the event "update" that error doesn't trigger. only on creation i've this strange situation upd: during creation i set some watcher and send email to them, now i've the same problem, he don't recognize this event, or it seems that it's triggered to early

    JIRA | 5 years ago | Fabrizio
    java.lang.NullPointerException: Cannot invoke method split() on null object
  2. 0

    Cant load data or create loader for FixtureLoader 1.2 in grails 2.3.6

    Stack Overflow | 3 years ago | NickHollingsworth
    java.lang.NullPointerException: Cannot invoke method load() on null object

    Root Cause Analysis

    1. java.lang.NullPointerException

      Cannot invoke method split() on null object

      at org.codehaus.groovy.runtime.NullObject.invokeMethod()
    2. Groovy
      PogoMetaClassSite.call
      1. org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
      2. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
      2 frames