java.lang.NullPointerException

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


Solutions on the web21504

Solution icon of github
via GitHub by sarahlensing
, 7 months ago
Attempt to invoke virtual method 'java.util.List com.mapzen.pelias.gson.Result.getFeatures()' on a null object reference

Solution icon of github
via GitHub by datasmurfen
, 1 year ago
Attempt to invoke virtual method 'void android.bluetooth.le.BluetoothLeScanner.startScan(java.util.List, android.bluetooth.le.ScanSettings, android.bluetooth.le.ScanCallback)' on a null object reference

Solution icon of github
via GitHub by KatieBarnett
, 4 months ago
Attempt to invoke virtual method 'java.util.List com.mapbox.services.api.directions.v5.models.DirectionsRoute.getLegs()' on a null object reference

Solution icon of github
via GitHub by amatkivskiy
, 1 year ago
Attempt to invoke virtual method 'java.util.List com.squareup.haha.perflib.ClassObj.getInstancesList()' on a null object reference

Solution icon of github
Attempt to invoke virtual method 'java.util.List com.lh.ctrl.service.gcgm.googleGC.GoogleReverseGeocode.getResults()' on a null object reference

Solution icon of github
via GitHub by Jeff11
, 10 months ago
Attempt to invoke virtual method 'boolean android.support.customtabs.CustomTabsSession.a(android.net.Uri, android.os.Bundle, java.util.List)' on a null object reference

Solution icon of github
Attempt to invoke virtual method 'java.util.List com.instabug.library.internal.d.a.c.b()' on a null object reference

Solution icon of github
Attempt to invoke virtual method 'java.util.List com.directions.route.Route.getPoints()' on a null object reference

Solution icon of github
Attempt to invoke virtual method 'java.util.List com.connectsdk.service.DeviceService.getCapabilities()' on a null object reference

Solution icon of github
via GitHub by adelq
, 7 months ago
Attempt to invoke virtual method 'java.util.List com.pennapps.labs.pennmobile.classes.Venue.allHours()' on a null object reference

Stack trace

  • 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(PeliasSearchView.java:241) at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:68) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7229) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.