java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.example.app/com.example.MainActivityTabs}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

Stack Overflow | Guy Bridge | 6 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

    Replace fragment in ViewPager - Getting NPE

    Stack Overflow | 6 months ago | Guy Bridge
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.example.app/com.example.MainActivityTabs}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

    Root Cause Analysis

    1. java.lang.RuntimeException

      Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.example.app/com.example.MainActivityTabs}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

      at com.example.MainActivityTabs.onActivityResult()
    2. com.example
      MainActivityTabs.onActivityResult
      1. com.example.MainActivityTabs.onActivityResult(MainActivityTabs.java:168)
      1 frame