java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference

GitHub | esh0 | 5 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

    NullPointerException in onSaveInstanceState

    GitHub | 5 months ago | esh0
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference

      at com.buildware.widget.indeterm.IndeterminateCheckBox.onSaveInstanceState()
    2. com.buildware.widget
      IndeterminateCheckBox.onSaveInstanceState
      1. com.buildware.widget.indeterm.IndeterminateCheckBox.onSaveInstanceState(IndeterminateCheckBox.java:218)
      1 frame
    3. Android Platform
      View.saveHierarchyState
      1. android.view.View.dispatchSaveInstanceState(View.java:13550)
      2. android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2865)
      3. android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2865)
      4. android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2865)
      5. android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2865)
      6. android.view.View.saveHierarchyState(View.java:13533)
      6 frames
    4. Android Support v4
      FragmentManagerImpl$1.run
      1. android.support.v4.app.FragmentManagerImpl.saveFragmentViewState(FragmentManager.java:1850)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1180)
      3. android.support.v4.app.FragmentManagerImpl.removeFragment(FragmentManager.java:1387)
      4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
      5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1677)
      6. android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:536)
      6 frames
    5. 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:135)
      4. android.app.ActivityThread.main(ActivityThread.java:5221)
      4 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
      2 frames