mattvchandler / ProgressBars

Android countdown / timer app
MIT License
54 stars 8 forks source link

java.io.InvalidClassException #15

Closed mattvchandler closed 4 years ago

mattvchandler commented 5 years ago

Appears to be new to v2.0.5

The only change to Notification_handler for 2.0.5 was to replace a LocalBroadcastManager call (removed from API 29) with a static method call to ProgressBars.

I haven't been able to reproduce this issue my self, but the play console has 30+ reports of this

Stack Trace Below

java.lang.RuntimeException: 
  at android.app.ActivityThread.handleReceiver (ActivityThread.java:3533)
  at android.app.ActivityThread.access$1400 (ActivityThread.java:207)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1769)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:193)
  at android.app.ActivityThread.main (ActivityThread.java:6898)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:537)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)
Caused by: java.io.InvalidClassException: 
  at java.io.ObjectStreamClass$ExceptionInfo.newInvalidClassException (ObjectStreamClass.java:154)
  at java.io.ObjectStreamClass.checkDeserialize (ObjectStreamClass.java:799)
  at java.io.ObjectInputStream.readOrdinaryObject (ObjectInputStream.java:1777)
  at java.io.ObjectInputStream.readObject0 (ObjectInputStream.java:1353)
  at java.io.ObjectInputStream.readObject (ObjectInputStream.java:373)
  at org.mattvchandler.progressbars.util.Notification_handler.onReceive (Notification_handler.java:123)
  at android.app.ActivityThread.handleReceiver (ActivityThread.java:3517)
  at android.app.ActivityThread.access$1400 (ActivityThread.java:207)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1769)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:193)
  at android.app.ActivityThread.main (ActivityThread.java:6898)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:537)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)
mattvchandler commented 4 years ago

No new reports of this bug in a while. Still can't reproduce my self.