We are receiving a lot of crashes with the stack trace pasted below.
The weird thing is that we see such reports only from the Play Console's "ANR & crashes" section but not from within our Crashlytics console.
These crashes were not reported with v1.2.1.
We're not sure if this error has user visible impact as from our preliminary tests push notifications do arrive to devices.
Hope this helps:
java.lang.RuntimeException:
at android.app.ActivityThread.installProvider (ActivityThread.java:6742)
at android.app.ActivityThread.installContentProviders (ActivityThread.java:6284)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:6199)
at android.app.ActivityThread.access$1200 (ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1785)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7045)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)
Caused by: java.io.InvalidClassException:
at java.io.ObjectStreamClass.initNonProxy (ObjectStreamClass.java:625)
at java.io.ObjectInputStream.readNonProxyDesc (ObjectInputStream.java:1625)
at java.io.ObjectInputStream.readClassDesc (ObjectInputStream.java:1520)
at java.io.ObjectInputStream.readNonProxyDesc (ObjectInputStream.java:1625)
at java.io.ObjectInputStream.readClassDesc (ObjectInputStream.java:1520)
at java.io.ObjectInputStream.readOrdinaryObject (ObjectInputStream.java:1776)
at java.io.ObjectInputStream.readObject0 (ObjectInputStream.java:1353)
at java.io.ObjectInputStream.readObject (ObjectInputStream.java:373)
at com.pusher.pushnotifications.internal.TapeJobQueue.asIterable (TapeJobQueue.java:60)
at com.pusher.pushnotifications.internal.ServerSyncHandler.<init> (ServerSyncHandler.java:49)
at com.pusher.pushnotifications.internal.ServerSyncHandler.<init> (ServerSyncHandler.java:24)
at com.pusher.pushnotifications.internal.ServerSyncHandler$Companion.obtain$pushnotifications_release (ServerSyncHandler.java:87)
at com.pusher.pushnotifications.PushNotificationsInstance$serverSyncHandler$1.invoke (PushNotificationsInstance.java:106)
at com.pusher.pushnotifications.PushNotificationsInstance$serverSyncHandler$1.invoke (PushNotificationsInstance.java:93)
at com.pusher.pushnotifications.PushNotificationsInstance.<init> (PushNotificationsInstance.java:105)
at com.pusher.pushnotifications.internal.PushNotificationsInitProvider.onCreate (PushNotificationsInitProvider.java:67)
at android.content.ContentProvider.attachInfo (ContentProvider.java:1940)
at android.content.ContentProvider.attachInfo (ContentProvider.java:1915)
at android.app.ActivityThread.installProvider (ActivityThread.java:6737)
at android.app.ActivityThread.installContentProviders (ActivityThread.java:6284)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:6199)
at android.app.ActivityThread.access$1200 (ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1785)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7045)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)
Thanks for reporting @julioromano - we've fixed this issue in the latest release 1.4.2 :-) I'm going to close this issue, but if you see this again please reach out!
We are receiving a lot of crashes with the stack trace pasted below. The weird thing is that we see such reports only from the Play Console's "ANR & crashes" section but not from within our Crashlytics console.
These crashes were not reported with v1.2.1. We're not sure if this error has user visible impact as from our preliminary tests push notifications do arrive to devices.
Hope this helps: