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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JIRA by raju kc, 1 year ago
Cannot invoke method split() on null object
via JIRA by raju kc, 1 year ago
Cannot invoke method split() on null object
via JIRA by Oleksii Gnatkevych, 1 year ago
Cannot invoke method getRestriction() on null object
via GitHub by akeluskar
, 1 year ago
Cannot invoke method select() on null object
via GitHub by chrisala
, 1 year ago
Cannot invoke method findResults() on null object
via GitHub by codeconsole
, 2 years ago
Cannot invoke method getAt() 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)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
at com.onresolve.jira.groovy.canned.workflow.postfunctions.SendCustomEmail.getAddressesFromFields(SendCustomEmail.groovy:394)
at com.onresolve.jira.groovy.canned.workflow.postfunctions.SendCustomEmail$getAddressesFromFields.callCurrent(Unknown Source)
at com.onresolve.jira.groovy.canned.workflow.postfunctions.SendCustomEmail.getAllAddresses(SendCustomEmail.groovy:339)
at com.onresolve.jira.groovy.canned.workflow.postfunctions.SendCustomEmail$getAllAddresses.callCurrent(Unknown Source)
at com.onresolve.jira.groovy.canned.workflow.postfunctions.SendCustomEmail.getDescription(SendCustomEmail.groovy:461)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.