Skip to content

Instantly share code, notes, and snippets.

@AlienAsRoger
Created May 8, 2015 03:17
Show Gist options
  • Save AlienAsRoger/a8265e6021eaa324d7f7 to your computer and use it in GitHub Desktop.
Save AlienAsRoger/a8265e6021eaa324d7f7 to your computer and use it in GitHub Desktop.
java.lang.RuntimeException: Unable to resume activity {com.chess/com.chess.ui.activities.MainFragmentFaceActivity}: java.lang.IllegalStateException: DialogFragment can not be attached to a container view
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2653)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2681)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2151)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3590)
at android.app.ActivityThread.access$800(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1244)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:177)
at android.app.ActivityThread.main(ActivityThread.java:4947)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(NativeStart.java)
Caused by: java.lang.IllegalStateException: DialogFragment can not be attached to a container view
at android.support.v4.app.DialogFragment.onActivityCreated(DialogFragment.java:378)
at com.chess.ui.fragments.popup_fragments.BasePopupDialogFragment.onActivityCreated(BasePopupDialogFragment.java:63)
at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1797)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:979)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1138)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1120)
at android.support.v4.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1939)
at android.support.v4.app.FragmentActivity.onResumeFragments(FragmentActivity.java:447)
at android.support.v4.app.FragmentActivity.onPostResume(FragmentActivity.java:436)
at android.support.v7.app.AppCompatActivity.onPostResume(AppCompatActivity.java:138)
at android.app.Activity.performResume(Activity.java:5294)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2643)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2681)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2151)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3590)
at android.app.ActivityThread.access$800(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1244)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:177)
at android.app.ActivityThread.main(ActivityThread.java:4947)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(NativeStart.java)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment