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

GitHub | esh0 | 4 months ago
  1. 0

    NullPointerException in onSaveInstanceState

    GitHub | 4 months ago | esh0
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference
  2. 0
    The resource was accessed after it was dismissed.
  3. 0
    The parsed JSON does not contains the requested field.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Initialize the variable before calling a method on it.
  6. 0
    Use 'dialog' to access views from custom_layout layout.

    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.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