java.lang.IllegalStateException

Fragment BraintreeFragment{65c0784} not attached to Activity

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web24166

  • Fragment BraintreeFragment{65c0784} not attached to Activity
  • Fragment Fragment{7c4c38e} not attached to Activity
  • via GitHub by negue
    , 9 months ago
    Fragment TasksFragment{42061a00} not attached to Activity
  • Stack trace

    • java.lang.IllegalStateException: Fragment BraintreeFragment{65c0784} not attached to Activity at android.app.Fragment.startActivityForResult(Fragment.java:1119) at android.app.Fragment.startActivityForResult(Fragment.java:1110) at com.braintreepayments.api.PayPal.startPayPal(PayPal.java:329) at com.braintreepayments.api.PayPal.access$100(PayPal.java:51) at com.braintreepayments.api.PayPal$2.success(PayPal.java:218) at com.braintreepayments.api.internal.HttpClient$3.run(HttpClient.java:286) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5551) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)

    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

    You’re the first here who have seen this exception.