java.lang.RuntimeException: Unable to resume activity {org.ligi.passandroid/org.ligi.passandroid.ui.PassViewActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

GitHub | ligi | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    GitHub | 8 months ago | ligi
    java.lang.RuntimeException: Unable to resume activity {org.ligi.passandroid/org.ligi.passandroid.ui.PassViewActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
  2. 0

    Could not find a method saveData(View)

    Google Groups | 6 months ago | Giuseppe Guarino
    java.lang.IllegalStateException: Could not find a method saveData(View) in the activity class com.example.giuse.secondly.NewSheet for onClick handler on view class android.widget.Button with id 'button_save' at android.view.View$1.onClick(View.java:4007) at android.view.View.performClick(View.java:4780) at android.view.View$PerformClick.run(View.java:19866) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) 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:903)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Can not perform this action after onSaveInstanceState

      at android.support.v4.app.FragmentManagerImpl.v()
    2. Android Support v4
      BackStackRecord.b
      1. android.support.v4.app.FragmentManagerImpl.v(SourceFile:1527)
      2. android.support.v4.app.FragmentManagerImpl.a(SourceFile:1545)
      3. android.support.v4.app.BackStackRecord.a(SourceFile:654)
      4. android.support.v4.app.BackStackRecord.b(SourceFile:621)
      4 frames
    3. org.ligi.passandroid
      PassViewActivity.onResume
      1. org.ligi.passandroid.maps.PassbookMapsFacade.a(SourceFile:29)
      2. org.ligi.passandroid.ui.PassViewActivity.a(SourceFile:93)
      3. org.ligi.passandroid.ui.PassViewActivity.onResume(SourceFile:166)
      3 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1255)
      2. android.app.Activity.performResume(Activity.java:6412)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:3383)
      4. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3425)
      5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1492)
      6. android.os.Handler.dispatchMessage(Handler.java:102)
      7. android.os.Looper.loop(Looper.java:145)
      8. android.app.ActivityThread.main(ActivityThread.java:5942)
      8 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
      2 frames