Crash inside Android Urban Airship library 7.1.+

This crash reports we received several times from Crashlytics. Currently affected only devices with Android OS 5.1.1

Stacktrace:

Fatal Exception: 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)

As soon as most of users receive push notifications without any problems I do not think that it's issue of configuration of our project. Also we started receiving this crash report onlu after updating to library version 7.1.+. So looks like it's not something what we can fix on our side. But may be you have ideas how we can avoid this crash?

Didn't find what you were looking for?

New post

Comments

2 comments

  • BTW. Only one device affected: SAMSUNG-SM-G890A

    0
  • Hi Nick,

    We would love to help you find a resolution to this crash!

    If you would not mind, since you have an enterprise account, please go ahead and submit a Support ticket, and we'll ask for more info from there to help our team investigate and troubleshoot the crash.

    0

Please sign in to leave a comment.