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

GitHub | HolenZhou | 2 years 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

    error while committing fragment transaction from intent handler

    Stack Overflow | 2 years ago | borune
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  2. 0

    FragmentManager IllegalStateException on transaction commit

    Stack Overflow | 2 years ago | gdakram
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Crash on install the app - onSaveInstanceState

    GitHub | 2 years ago | erlingfjelstad
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  5. 0

    Crash on first login in after installing the app

    GitHub | 2 years ago | erlingfjelstad
    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
    BackStackRecord.commit
    1. android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1377)
    2. android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1395)
    3. android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:637)
    4. android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:616)
    4 frames
  3. com.talkweb.cloudcampus
    TouchImageView$1.onLongPress
    1. com.talkweb.cloudcampus.view.ActionSheet.show(ActionSheet.java:65)
    2. com.talkweb.cloudcampus.view.ActionSheet$Builder.show(ActionSheet.java:482)
    3. com.talkweb.cloudcampus.ui.common.ImageViewPagerActivity.LongPress(ImageViewPagerActivity.java:128)
    4. com.talkweb.cloudcampus.ui.common.ImageViewPagerActivity$ImagePagerAdapter$2.onLongClick(ImageViewPagerActivity.java:155)
    5. com.talkweb.cloudcampus.view.gallery.touchview.TouchImageView$1.onLongPress(TouchImageView.java:146)
    5 frames
  4. Android Platform
    ActivityThread.main
    1. android.view.GestureDetector.dispatchLongPress(GestureDetector.java:690)
    2. android.view.GestureDetector.access$200(GestureDetector.java:37)
    3. android.view.GestureDetector$GestureHandler.handleMessage(GestureDetector.java:266)
    4. android.os.Handler.dispatchMessage(Handler.java:110)
    5. android.os.Looper.loop(Looper.java:193)
    6. android.app.ActivityThread.main(ActivityThread.java:5372)
    6 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
    2 frames