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

GitHub | wenmingvs | 6 months ago
  1. 0

    【CrashLog】 WeiSwift 2016-07-22 10:18:10:86

    GitHub | 6 months ago | wenmingvs
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference
  2. 0
    Initialize the variable before calling a method on it.
  3. 0
    Use 'dialog' to access views from custom_layout layout.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    The resource was accessed after it was dismissed.
  6. 0

    Crash

    GitHub | 1 year ago | SlideAutoreport
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference

    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 'int java.util.ArrayList.size()' on a null object reference

      at com.wenming.weiswift.ui.login.fragment.message.mention.MentionActivity.showLoadFooterView()
    2. com.wenming.weiswift
      EndlessRecyclerOnScrollListener.onScrollStateChanged
      1. com.wenming.weiswift.ui.login.fragment.message.mention.MentionActivity.showLoadFooterView(MentionActivity.java:209)
      2. com.wenming.weiswift.ui.login.fragment.message.mention.MentionActivity$5.onLoadNextPage(MentionActivity.java:134)
      3. com.wenming.weiswift.widget.endlessrecyclerview.EndlessRecyclerOnScrollListener.onScrollStateChanged(EndlessRecyclerOnScrollListener.java:91)
      3 frames
    3. Android v7
      RecyclerView$ViewFlinger.run
      1. android.support.v7.widget.RecyclerView.dispatchOnScrollStateChanged(RecyclerView.java:3972)
      2. android.support.v7.widget.RecyclerView.setScrollState(RecyclerView.java:1194)
      3. android.support.v7.widget.RecyclerView.access$3900(RecyclerView.java:147)
      4. android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:4110)
      4 frames
    4. Android Platform
      ActivityThread.main
      1. android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
      2. android.view.Choreographer.doCallbacks(Choreographer.java:695)
      3. android.view.Choreographer.doFrame(Choreographer.java:628)
      4. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
      5. android.os.Handler.handleCallback(Handler.java:739)
      6. android.os.Handler.dispatchMessage(Handler.java:95)
      7. android.os.Looper.loop(Looper.java:158)
      8. android.app.ActivityThread.main(ActivityThread.java:7224)
      8 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames
    7. XposedBridge
      XposedBridge.main
      1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
      1 frame