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

urbanairship.com | 6 months 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

    Crash inside Android Urban Airship library 7.1.+ : Urban Airship Support Center

    urbanairship.com | 6 months ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
  2. 0

    Crash inside Android Urban Airship library 7.1.+ – Urban Airship Support Center

    urbanairship.com | 1 week ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

    Root Cause Analysis

    1. 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()
    2. Urban Airship Push Library
      BaseIntentService.onHandleIntent
      1. com.urbanairship.push.ChannelServiceDelegate.needsPushRegistration(ChannelServiceDelegate.java:1441)
      2. com.urbanairship.BaseIntentService.onHandleIntent(BaseIntentService.java:103)
      2 frames
    3. Android Platform
      HandlerThread.run
      1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
      2. android.os.Handler.dispatchMessage(Handler.java:102)
      3. android.os.Looper.loop(Looper.java:145)
      4. android.os.HandlerThread.run(HandlerThread.java:61)
      4 frames