ericberman / MyFlightbookAndroid

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

ActRecents not attached to a context #262

Closed ericberman closed 2 years ago

ericberman commented 2 years ago

java.lang.IllegalStateException: Fragment ActRecentsWS{c23e5a} (81de1a6b-6854-4c17-bc54-16846d5e4341) not attached to a context. at androidx.fragment.app.Fragment.requireContext(Fragment.java:919) at com.myflightbook.android.ActRecentsWS$refreshFlights$1$1.invoke(ActRecentsWS.kt:395) at com.myflightbook.android.ActRecentsWS$refreshFlights$1$1.invoke(ActRecentsWS.kt:377) at com.myflightbook.android.ActMFBForm$Companion$doAsync$result$1.invokeSuspend(ActMFBForm.kt:659) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) Fragment ActRecentsWS{c23e5a} (81de1a6b-6854-4c17-bc54-16846d5e4341) not attached to a context.Fragment ActRecentsWS{c23e5a} (81de1a6b-6854-4c17-bc54-16846d5e4341) not attached to a context.