java.lang.IllegalStateException: Fragment BasicFragmentVideo{e87fd0c} not attached to Activity

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by hulapalu
, 11 months ago
Fragment BasicFragmentVideo{e87fd0c} not attached to Activity
via Stack Overflow by COBOL
, 2 years ago
Fragment NotificationsPreferenceFragment{416092f8} not attached to Activity
via Stack Overflow by ste9206
, 1 year ago
Fragment RecyclerTemperatureFragment{b4d74cd} not attached to Activity
via Stack Overflow by apolleitor
, 2 years ago
Fragment NavigationDrawerFragment{42304e20} not attached to Activity
via GitHub by virus-warnning
, 1 year ago
Fragment UpdateToolFragment{243841a2} not attached to Activity
via GitHub by kingdom2011
, 9 months ago
Fragment AppearancePreferenceFragment{9424a56} not attached to Activity
java.lang.IllegalStateException: Fragment BasicFragmentVideo{e87fd0c} not attached to Activity
at android.app.Fragment.getResources(Fragment.java:805)
at android.app.Fragment.getString(Fragment.java:840)
at k.com.kamera.BasicFragmentVideo$5$1$1.run(BasicFragmentVideo.java:483)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:168)
at android.app.ActivityThread.main(ActivityThread.java:5845)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)

Users with the same issue

19 times, 1 year ago
35 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.