zoukankan      html  css  js  c++  java
  • Can not perform this action after onSaveInstanceState

    java.lang.RuntimeException: Unable to resume activity {com.tongyan.nanjing.subway/com.tongyan.structure.ui.act.InsideTaskAct}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3241)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3272)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1422)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5601)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:964)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:759)
    Caused by: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
    at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1489)
    at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1507)
    at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:634)
    at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:613)
    at com.tongyan.structure.ui.act.InsideTaskAct.createFragment(InsideTaskAct.java:627)
    at com.tongyan.structure.ui.act.InsideTaskAct.selectedListener(InsideTaskAct.java:573)
    at com.tongyan.structure.ui.act.InsideTaskAct.onResume(InsideTaskAct.java:256)
    at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1265)
    at android.app.Activity.performResume(Activity.java:6189)
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3230)
    ... 9 more
    java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
    at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1489)
    at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1507)
    at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:634)
    at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:613)
    at com.tongyan.structure.ui.act.InsideTaskAct.createFragment(InsideTaskAct.java:627)
    at com.tongyan.structure.ui.act.InsideTaskAct.selectedListener(InsideTaskAct.java:573)
    at com.tongyan.structure.ui.act.InsideTaskAct.onResume(InsideTaskAct.java:256)
    at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1265)
    at android.app.Activity.performResume(Activity.java:6189)
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3230)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3272)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1422)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5601)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:964)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:759)

  • 相关阅读:
    关于celery踩坑
    关于git的分批提交pull requests流程
    SymGAN—Exploiting Images for Video Recognition: Heterogeneous Feature Augmentation via Symmetric Adversarial Learning学习笔记
    AFN—Larger Norm More Transferable: An Adaptive Feature Norm Approach for Unsupervised Domain Adaptation学习笔记
    Learning to Transfer Examples for Partial Domain Adaptation学习笔记
    Partial Adversarial Domain Adaptation学习笔记
    Partial Transfer Learning with Selective Adversarial Networks学习笔记
    Importance Weighted Adversarial Nets for Partial Domain Adaptation学习笔记
    Exploiting Images for Video Recognition with Hierarchical Generative Adversarial Networks学习笔记
    improved open set domain adaptation with backpropagation 学习笔记
  • 原文地址:https://www.cnblogs.com/royi123/p/5688733.html
Copyright © 2011-2022 走看看