java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference at com.example.joey.sqlite.MainActivity.onResume(MainActivity.java:48) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1257) at android.app.Activity.performResume(Activity.java:6076) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3039) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3081) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2447) at android.app.ActivityThread.access$800(ActivityThread.java:156) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1351) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:211) at android.app.ActivityThread.main(ActivityThread.java:5389) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
    No Bugmate found.