java.lang.NullPointerException

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.
  1. 0

    Retrofit random crashes on onResponse

    Stack Overflow | 6 months ago | Dimitris Konomis
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.me.app.name.fragments.CloseEventsFragment$1.onResponse()
    2. com.me.app
      CloseEventsFragment$1.onResponse
      1. com.me.app.name.fragments.CloseEventsFragment$1.onResponse(Unknown Source)
      1 frame
    3. retrofit2
      ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run
      1. retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(Unknown Source)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:730)
      2. android.os.Handler.dispatchMessage(Handler.java:92)
      3. android.os.Looper.loop(Looper.java:137)
      4. android.app.ActivityThread.main(ActivityThread.java:5493)
      4 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      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:1209)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1025)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame