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 'java.lang.String java.lang.String.toUpperCase()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toUpperCase()' on a null object reference	at org.onebusaway.android.util.MyTextUtils.isAllCaps(MyTextUtils.java:60)	at org.onebusaway.android.util.UIUtils.formatHeadsign(UIUtils.java:221)	at org.onebusaway.android.ui.ArrivalsListHeader.refreshArrivalInfoData(ArrivalsListHeader.java:679)	at org.onebusaway.android.ui.ArrivalsListHeader.refresh(ArrivalsListHeader.java:627)	at org.onebusaway.android.ui.ArrivalsListFragment.setResponseData(ArrivalsListFragment.java:550)	at org.onebusaway.android.ui.ArrivalsListFragment.onLoadFinished(ArrivalsListFragment.java:459)	at org.onebusaway.android.ui.ArrivalsListFragment.onLoadFinished(ArrivalsListFragment.java:89)	at android.support.v4.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:476)	at android.support.v4.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:444)	at android.support.v4.content.Loader.deliverResult(Loader.java:126)	at org.onebusaway.android.ui.ArrivalsListLoader.deliverResult(ArrivalsListLoader.java:59)	at org.onebusaway.android.ui.ArrivalsListLoader.deliverResult(ArrivalsListLoader.java:27)	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:148)	at android.app.ActivityThread.main(ActivityThread.java:5525)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)