Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by barbeau
, 1 year ago
Attempt to invoke virtual method 'int org.onebusaway.android.io.request.ObaStopsForRouteResponse.getCode()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'int org.onebusaway.android.io.request.ObaStopsForRouteResponse.getCode()' on a null object reference at org.onebusaway.android.map.RouteMapController$RouteLoaderListener.onLoadFinished(RouteMapController.java:397) at org.onebusaway.android.map.RouteMapController$RouteLoaderListener.onLoadComplete(RouteMapController.java:435) at org.onebusaway.android.map.RouteMapController$RouteLoaderListener.onLoadComplete(RouteMapController.java:382) at android.support.v4.content.Loader.deliverResult(Loader.java:126) at org.onebusaway.android.map.RouteMapController$RoutesLoader.deliverResult(RouteMapController.java:373) at org.onebusaway.android.map.RouteMapController$RoutesLoader.deliverResult(RouteMapController.java:345) at android.support.v4.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:249) at android.support.v4.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:77) at android.support.v4.content.ModernAsyncTask.finish(ModernAsyncTask.java:466) at android.support.v4.content.ModernAsyncTask.access$400(ModernAsyncTask.java:48) at android.support.v4.content.ModernAsyncTask$InternalHandler.handleMessage(ModernAsyncTask.java:483) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:168) at android.app.ActivityThread.main(ActivityThread.java:5885) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:819) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:709)