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

GitHub | sarahlensing | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    NPE

    GitHub | 4 months 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

    Java - Null Object RecyclerView.SetAdapter Android

    Stack Overflow | 3 weeks ago | Milzam Hibatullah
    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
  3. 0

    Attempt to invoke virtual method 'java.util.List com.jsonretrofit.model.MoviesResponse.getResults()' on a null object reference

    Stack Overflow | 23 hours ago | Nithin Prasad
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List info.androidhive.retrofit.model.MoviesResponse.getResults()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    getFragmentManager() NullPointerException

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

    How can I construct this URL for RetroFit API

    Stack Overflow | 6 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

    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