java.lang.IllegalStateException

Fragment MainActivityFragment{e7db358} not attached to Activity

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • via GitHub by negue
    ,
  • Stack trace

    • java.lang.IllegalStateException: Fragment MainActivityFragment{e7db358} not attached to Activity at android.support.v4.app.Fragment.startActivityForResult(Fragment.java:925) at org.y20k.transistor.MainActivityFragment.selectFromImagePicker(MainActivityFragment.java:482) at org.y20k.transistor.MainActivityFragment.access$500(MainActivityFragment.java:58) at org.y20k.transistor.MainActivityFragment$6.onReceive(MainActivityFragment.java:415) at android.support.v4.content.LocalBroadcastManager.executePendingBroadcasts(LocalBroadcastManager.java:297) at android.support.v4.content.LocalBroadcastManager.access$000(LocalBroadcastManager.java:46) at android.support.v4.content.LocalBroadcastManager$1.handleMessage(LocalBroadcastManager.java:116) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,