Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add attached boolean to prevent exception #1

Open
oparamo opened this issue Jan 5, 2017 · 0 comments
Open

Add attached boolean to prevent exception #1

oparamo opened this issue Jan 5, 2017 · 0 comments
Assignees

Comments

@oparamo
Copy link

oparamo commented Jan 5, 2017

Fatal Exception: java.lang.RuntimeException: Unable to destroy activity {li.vin.my/li.vin.my.app.AppMainActivity}: java.lang.RuntimeException: no bus!
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5066)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5089)
at android.app.ActivityThread.access$1700(ActivityThread.java:222)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1854)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7229)
at java.lang.reflect.Method.invoke(Method.java)
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.RuntimeException: no bus!
at li.vin.my.app.presenter.AppDrawerPresenter.onDetachedFromWindow(AppDrawerPresenter.java:142)
at li.vin.my.app.presenter.AppDrawerPresenter.onDetachedFromWindow(AppDrawerPresenter.java:84)
at li.vin.appcore.screenview.ScreenViewImpl.onDetachedFromWindowImpl(ScreenViewImpl.java:83)
at li.vin.appcore.screenview.LinearLayoutScreenView.onDetachedFromWindow(LinearLayoutScreenView.java:91)
at android.view.View.dispatchDetachedFromWindow(View.java:15846)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3380)
at android.view.ViewGroup.removeViewInternal(ViewGroup.java:4950)
at android.view.ViewGroup.removeViewInternal(ViewGroup.java:4923)
at android.view.ViewGroup.removeView(ViewGroup.java:4854)
at li.vin.appcore.mortarflow.android.MortarFlowAppCompatActivity.onDestroy(MortarFlowAppCompatActivity.java:579)
at li.vin.my.app.AppMainActivity.onDestroy(AppMainActivity.java:1081)
at android.app.Activity.performDestroy(Activity.java:7102)
at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1170)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5044)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5089)
at android.app.ActivityThread.access$1700(ActivityThread.java:222)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1854)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7229)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

@oparamo oparamo self-assigned this Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant