java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.mikepenz.fastadapter.IItem.isSelected()' on a null object reference

GitHub | jonas-arkulpa | 10 months ago
  1. 0

    Crash while search filtering

    GitHub | 10 months ago | jonas-arkulpa
    java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.mikepenz.fastadapter.IItem.isSelected()' 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 interface method 'boolean com.mikepenz.fastadapter.IItem.isSelected()' on a null object reference

      at com.mikepenz.fastadapter.utils.AdapterUtil.handleStates()
    2. com.mikepenz.fastadapter
      ItemAdapter$ItemFilter.publishResults
      1. com.mikepenz.fastadapter.utils.AdapterUtil.handleStates(AdapterUtil.java:28)
      2. com.mikepenz.fastadapter.FastAdapter.notifyAdapterItemRangeChanged(FastAdapter.java:1100)
      3. com.mikepenz.fastadapter.FastAdapter.notifyAdapterItemRangeChanged(FastAdapter.java:1076)
      4. com.mikepenz.fastadapter.adapters.ItemAdapter.set(ItemAdapter.java:186)
      5. com.mikepenz.fastadapter.adapters.ItemAdapter$ItemFilter.publishResults(ItemAdapter.java:356)
      5 frames
    3. Android Platform
      ActivityThread.main
      1. android.widget.Filter$ResultsHandler.handleMessage(Filter.java:282)
      2. android.os.Handler.dispatchMessage(Handler.java:102)
      3. android.os.Looper.loop(Looper.java:135)
      4. android.app.ActivityThread.main(ActivityThread.java:5254)
      4 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
      2 frames