java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

zendesk.com | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ContactZendeskFragment crashes when feedback is sent in background – Zendesk Support

    zendesk.com | 4 months ago
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  2. 0

    Android app crashing after Zen Desk integration

    Stack Overflow | 7 months ago | Laraib
    com.zendesk.sdk.storage.SdkStorage.INSTANCE
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Screenshot uploader widget

    GitHub | 1 year ago | timrijckaert
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Can not perform this action after onSaveInstanceState

    at android.support.v4.app.FragmentManagerImpl.checkStateLoss()
  2. Android Support v4
    FragmentActivity.onBackPressed
    1. android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1493)
    2. android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:584)
    3. android.support.v4.app.FragmentActivity.onBackPressed(FragmentActivity.java:188)
    3 frames
  3. com.zendesk.sdk
    ContactZendeskFragment$RequestCallback.onSuccess
    1. com.zendesk.sdk.feedback.ui.ContactZendeskFragment$RequestCallback.onSuccess(ContactZendeskFragment.java:651)
    2. com.zendesk.sdk.feedback.ui.ContactZendeskFragment$RequestCallback.onSuccess(ContactZendeskFragment.java:639)
    2 frames
  4. com.zendesk.service
    SafeZendeskCallback.onSuccess
    1. com.zendesk.service.SafeZendeskCallback.onSuccess(SafeZendeskCallback.java:32)
    1 frame
  5. com.zendesk.sdk
    ZendeskRequestProvider$2.onSuccess
    1. com.zendesk.sdk.feedback.ZendeskFeedbackConnector$1.onSuccess(ZendeskFeedbackConnector.java:131)
    2. com.zendesk.sdk.feedback.ZendeskFeedbackConnector$1.onSuccess(ZendeskFeedbackConnector.java:127)
    3. com.zendesk.sdk.network.impl.ZendeskRequestProvider$2.onSuccess(ZendeskRequestProvider.java:101)
    4. com.zendesk.sdk.network.impl.ZendeskRequestProvider$2.onSuccess(ZendeskRequestProvider.java:91)
    4 frames
  6. com.zendesk.service
    RetrofitZendeskCallbackAdapter.onResponse
    1. com.zendesk.service.RetrofitZendeskCallbackAdapter.onResponse(RetrofitZendeskCallbackAdapter.java:67)
    1 frame
  7. retrofit2
    ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run
    1. retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:68)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:148)
    4. android.app.ActivityThread.main(ActivityThread.java:5417)
    4 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames
  11. com.zendesk.service
    SafeZendeskCallback.onSuccess
    1. com.zendesk.service.SafeZendeskCallback.onSuccess(SafeZendeskCallback.java:32)
    1 frame
  12. com.zendesk.sdk
    ZendeskRequestProvider$2.onSuccess
    1. com.zendesk.sdk.feedback.ZendeskFeedbackConnector$1.onSuccess(ZendeskFeedbackConnector.java:131)
    2. com.zendesk.sdk.feedback.ZendeskFeedbackConnector$1.onSuccess(ZendeskFeedbackConnector.java:127)
    3. com.zendesk.sdk.network.impl.ZendeskRequestProvider$2.onSuccess(ZendeskRequestProvider.java:101)
    4. com.zendesk.sdk.network.impl.ZendeskRequestProvider$2.onSuccess(ZendeskRequestProvider.java:91)
    4 frames
  13. com.zendesk.service
    RetrofitZendeskCallbackAdapter.onResponse
    1. com.zendesk.service.RetrofitZendeskCallbackAdapter.onResponse(RetrofitZendeskCallbackAdapter.java:67)
    1 frame
  14. retrofit2
    ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run
    1. retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:68)
    1 frame
  15. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:148)
    4. android.app.ActivityThread.main(ActivityThread.java:5417)
    4 frames
  16. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  17. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames