java.lang.NullPointerException

Stack Overflow | Chien | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.example.lananh.da_quanlychitieu.ThuFragment.refreshListview()
  2. com.example.lananh
    MainActivity$4.onClick
    1. com.example.lananh.da_quanlychitieu.ThuFragment.refreshListview(ThuFragment.java:338)
    2. com.example.lananh.da_quanlychitieu.MainActivity.Add_new_thu(MainActivity.java:248)
    3. com.example.lananh.da_quanlychitieu.MainActivity$4.onClick(MainActivity.java:209)
    3 frames
  3. Android v7
    AlertController$ButtonHandler.handleMessage
    1. android.support.v7.app.AlertController$ButtonHandler.handleMessage(AlertController.java:157)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:99)
    2. android.os.Looper.loop(Looper.java:137)
    3. android.app.ActivityThread.main(ActivityThread.java:5103)
    3 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame