java.lang.NullPointerException

Attempt to invoke virtual method 'java.lang.String java.lang.String.toUpperCase()' on a null object reference

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web21078

  • Attempt to invoke virtual method 'java.lang.String java.lang.String.toUpperCase()' on a null object reference
  • via GitHub by door43app
    , 2 months ago
    Attempt to invoke virtual method 'java.lang.String java.lang.String.toUpperCase()' on a null object reference
  • via samsung.com by Unknown author, 10 months ago
    Attempt to invoke virtual methodjava.lang.String java.lang.String.toUpperCase()’ on a null object reference
  • Stack trace

    • 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)

    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’re the first here who have seen this exception.