ericberman / MyFlightbookAndroid

Android client app for MyFlightbook.com
http://myflightbook.com
GNU General Public License v3.0
21 stars 8 forks source link

Crash - can't resume #91

Closed ericberman closed 6 years ago

ericberman commented 6 years ago

java.lang.RuntimeException: Unable to resume activity {com.myflightbook.android/com.myflightbook.android.MFBMain}: java.lang.IllegalStateException: Fragment ActNewFlight{b3f79ea} not attached to Activity at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4155) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4245) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3360) at android.app.ActivityThread.access$1100(ActivityThread.java:221) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7224) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) Caused by: java.lang.IllegalStateException: Fragment ActNewFlight{b3f79ea} not attached to Activity at android.support.v4.app.Fragment.getResources(Fragment.java:715) at com.myflightbook.android.ActNewFlight.UpdateStatus(ActNewFlight.java:1494) at Model.MFBFlightListener.UpdateStatus(MFBFlightListener.java:163) at Model.MFBLocation.InformListenerOfStatus(MFBLocation.java:231) at Model.MFBLocation.startListening(MFBLocation.java:128) at com.myflightbook.android.MFBMain.onResume(MFBMain.java:466) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1286) at android.app.Activity.performResume(Activity.java:6987) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4144) ... 10 more Unable to resume activity {com.myflightbook.android/com.myflightbook.android.MFBMain}: java.lang.IllegalStateException: Fragment ActNewFlight{b3f79ea} not attached to ActivityUnable to resume activity {com.myflightbook.android/com.myflightbook.android.MFBMain}: java.lang.IllegalStateException: Fragment ActNewFlight{b3f79ea} not attached to Activity