java.lang.NullPointerException

Stack Overflow | Mark Loke | 7 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 info.androidhive.retrofit.activity.MainActivity$2.onResponse()
  2. info.androidhive.retrofit
    MainActivity$2.onResponse
    1. info.androidhive.retrofit.activity.MainActivity$2.onResponse(MainActivity.java:65)
    1 frame
  3. retrofit2
    ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run
    1. retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:68)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:615)
    2. android.os.Handler.dispatchMessage(Handler.java:92)
    3. android.os.Looper.loop(Looper.java:137)
    4. android.app.ActivityThread.main(ActivityThread.java:4745)
    4 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
    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