java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference


Solutions on the web2

Solution icon of web
Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

Solution icon of web
Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

Stack trace

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
	at com.urbanairship.push.ChannelServiceDelegate.needsPushRegistration(ChannelServiceDelegate.java:1441)
	at com.urbanairship.BaseIntentService.onHandleIntent(BaseIntentService.java:103)
	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:145)
	at android.os.HandlerThread.run(HandlerThread.java:61)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.