BasicAirData / GPSLogger

A GPS logger for Android mobile devices
http://www.basicairdata.eu/projects/android/android-gps-logger/
GNU General Public License v3.0
403 stars 126 forks source link

Bug Report - org.greenrobot.eventbus.EventBusException at GPSActivity.onResume:134 #77

Closed GrazianoCapelli closed 4 years ago

GrazianoCapelli commented 5 years ago

java.lang.RuntimeException: at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4001) at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4033) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence (TransactionExecutor.java:183) at android.app.servertransaction.TransactionExecutor.cycleToPath (TransactionExecutor.java:165) at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:142) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1977) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loop (Looper.java:193) at android.app.ActivityThread.main (ActivityThread.java:6923) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:870)

Caused by: org.greenrobot.eventbus.EventBusException: at org.greenrobot.eventbus.EventBus.subscribe (EventBus.java:158) at org.greenrobot.eventbus.EventBus.register (EventBus.java:143) at eu.basicairdata.graziano.gpslogger.GPSActivity.onResume (GPSActivity.java:134) at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1434) at android.app.Activity.performResume (Activity.java:7304) at android.app.ActivityThread.performResumeActivity (ActivityThread.java:3993)

GrazianoCapelli commented 5 years ago

We are having some crash reports about an EventBusException. Here you can find the line that causes the crash.

It seems that it occurs only on Motorola devices with Android 9: Affected 77

GrazianoCapelli commented 5 years ago

I opened an issue on the EventBus repo - https://github.com/greenrobot/EventBus/issues/605 - in order to report this strange behaviour.

GrazianoCapelli commented 4 years ago

greenrobot/EventBus#605 closed, no more crashes occured. We had some good user feedbacks too, reporting the error resolution.