pusher / pusher-websocket-android

Library built on top of pusher-websocket-java for Android. Want Push Notifications? Check out Pusher Beams!
MIT License
36 stars 12 forks source link

GCMRegistrationIntentService NullPointerException #43

Closed vyacheslav-volkov closed 6 years ago

vyacheslav-volkov commented 7 years ago

Hi there, I checked google play console logs and I see this exception, you need to handle null intent.

https://stackoverflow.com/questions/37960917/android-intentservice-triggered-with-null-intent https://stackoverflow.com/questions/22309582/intentservices-onhandleintentintent-gets-null-argument

java.lang.NullPointerException: at com.pusher.android.notifications.gcm.GCMRegistrationIntentService.onHandleIntent(GCMRegistrationIntentService.java:29) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.os.HandlerThread.run(HandlerThread.java:61)

zmarkan commented 7 years ago

Thank you, I'll look into it.

I'll let you know when I've resolved it.

kn100 commented 6 years ago

Closing due to age