nadar71 / EarthquakeWatchdog

App showing the latest hearthquake event from USGS site.
4 stars 0 forks source link

JAVA_Smapelli_fixes: AndroidX post-conversion bug : coming back from SettingSimpleActivity #130

Open nadar71 opened 4 years ago

nadar71 commented 4 years ago

It crashes, with error : 2020-03-04 08:12:16.928 20519-20519/com.indiewalk.watchdog.earthquake E/AndroidRuntime: FATAL EXCEPTION: main Process: com.indiewalk.watchdog.earthquake, PID: 20519 java.lang.RuntimeException: Unable to destroy activity {com.indiewalk.watchdog.earthquake/com.indiewalk.watchdog.earthquake.UI.MainActivityEarthquakesList}: java.lang.IllegalStateException: No activity at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4521) at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4539) at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:39) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6810) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873) Caused by: java.lang.IllegalStateException: No activity at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1837) at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3269) at androidx.fragment.app.FragmentManagerImpl.dispatchStop(FragmentManager.java:3250) at androidx.fragment.app.FragmentController.dispatchStop(FragmentController.java:245) at androidx.fragment.app.FragmentActivity.onStop(FragmentActivity.java:641) at androidx.appcompat.app.AppCompatActivity.onStop(AppCompatActivity.java:184) at com.indiewalk.watchdog.earthquake.UI.MainActivityEarthquakesList.onDestroy(MainActivityEarthquakesList.java:235) at android.app.Activity.performDestroy(Activity.java:7524) at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1307) at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4506) at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4539)  at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:39)  at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)  at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831)  at android.os.Handler.dispatchMessage(Handler.java:106)  at android.os.Looper.loop(Looper.java:201)  at android.app.ActivityThread.main(ActivityThread.java:6810)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)  2020-03-04 08:12:17.001 2082-2102/? E/UsbDeviceManager: handle message = 9 2020-03-04 08:12:17.036 2082-2169/? E/InputDispatcher: channel '81ca323 com.indiewalk.watchdog.earthquake/com.indiewalk.watchdog.earthquake.UI.SettingSimpleActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2020-03-04 08:12:17.037 2082-2169/? E/InputDispatcher: channel 'd5f78de com.indiewalk.watchdog.earthquake/com.indiewalk.watchdog.earthquake.UI.MainActivityEarthquakesList (server)' ~ Channel is unrecoverably broken and will be disposed!