java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List com.mapzen.pelias.gson.Result.getFeatures()' on a null object reference

GitHub | sarahlensing | 3 weeks ago
  1. 0

    NPE

    GitHub | 3 weeks ago | sarahlensing
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List com.mapzen.pelias.gson.Result.getFeatures()' on a null object reference
  2. 0

    getFragmentManager() NullPointerException

    Stack Overflow | 10 months ago | Георгий Чепига
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.FragmentManager android.app.Activity.getFragmentManager()' on a null object reference
  3. 0

    How can I construct this URL for RetroFit API

    Stack Overflow | 2 months ago | Contextioner
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List com.android.stockhawk.quotes.QuotesResponse.getResults()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Why recyclerView adapter is on a null object reference?

    Stack Overflow | 3 months ago | emrekose26
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setAdapter(android.support.v7.widget.RecyclerView$Adapter)' on a null object reference
  6. 0

    Cannot set Custom Adapter to ListView

    Stack Overflow | 3 months ago | Han Tran
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' 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 'java.util.List com.mapzen.pelias.gson.Result.getFeatures()' on a null object reference

      at com.mapzen.pelias.widget.PeliasSearchView$6.onResponse()
    2. com.mapzen.pelias
      PeliasSearchView$6.onResponse
      1. com.mapzen.pelias.widget.PeliasSearchView$6.onResponse(PeliasSearchView.java:241)
      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:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:158)
      4. android.app.ActivityThread.main(ActivityThread.java:7229)
      4 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