java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.util.ArrayList.contains(java.lang.Object)' on a null object reference

GitHub | kelson42 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 273#238955566

    GitHub | 6 months ago | kelson42
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.util.ArrayList.contains(java.lang.Object)' on a null object reference
  2. 0

    GitHub comment 273#238971150

    GitHub | 6 months ago | kelson42
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.util.ArrayList.contains(java.lang.Object)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'boolean java.util.ArrayList.contains(java.lang.Object)' on a null object reference

      at org.kiwix.kiwixmobile.KiwixMobileActivity.refreshBookmarkSymbol()
    2. org.kiwix.kiwixmobile
      KiwixMobileActivity.onPrepareOptionsMenu
      1. org.kiwix.kiwixmobile.KiwixMobileActivity.refreshBookmarkSymbol(KiwixMobileActivity.java:1411)
      2. org.kiwix.kiwixmobile.KiwixMobileActivity.onPrepareOptionsMenu(KiwixMobileActivity.java:1400)
      2 frames
    3. Android Platform
      Activity.onPreparePanel
      1. android.app.Activity.onPreparePanel(Activity.java:2982)
      1 frame
    4. Android Support v4
      FragmentActivity.onPreparePanel
      1. android.support.v4.app.FragmentActivity.onPrepareOptionsPanel(FragmentActivity.java:547)
      2. android.support.v4.app.FragmentActivity.onPreparePanel(FragmentActivity.java:536)
      2 frames
    5. Android v7
      ToolbarActionBar$1.run
      1. android.support.v7.view.WindowCallbackWrapper.onPreparePanel(WindowCallbackWrapper.java:93)
      2. android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.onPreparePanel(AppCompatDelegateImplBase.java:297)
      3. android.support.v7.view.WindowCallbackWrapper.onPreparePanel(WindowCallbackWrapper.java:93)
      4. android.support.v7.app.ToolbarActionBar$ToolbarCallbackWrapper.onPreparePanel(ToolbarActionBar.java:567)
      5. android.support.v7.app.ToolbarActionBar.populateOptionsMenu(ToolbarActionBar.java:455)
      6. android.support.v7.app.ToolbarActionBar$1.run(ToolbarActionBar.java:61)
      6 frames
    6. Android Platform
      ActivityThread.main
      1. android.view.Choreographer$CallbackRecord.run(Choreographer.java:777)
      2. android.view.Choreographer.doCallbacks(Choreographer.java:590)
      3. android.view.Choreographer.doFrame(Choreographer.java:559)
      4. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:763)
      5. android.os.Handler.handleCallback(Handler.java:739)
      6. android.os.Handler.dispatchMessage(Handler.java:95)
      7. android.os.Looper.loop(Looper.java:145)
      8. android.app.ActivityThread.main(ActivityThread.java:6117)
      8 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
      2 frames