java.lang.RuntimeException: Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int org.onebusaway.android.ui.AlertList.getCount()' on a null object reference

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
Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int org.onebusaway.android.ui.AlertList.getCount()' on a null object reference
via GitHub by dschuermann
, 1 year ago
Unable to start activity ComponentInfo{org.sufficientlysecure.keychain/org.sufficientlysecure.keychain.ui.CreateKeyActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.sufficientlysecure.keychain.util.UsbConnectionDispatcher.rescanDevices()' on a null object reference
via Stack Overflow by Maxime Claude
, 9 months ago
Unable to start activity ComponentInfo{com.example/com.example.UI.Activities.ExampleActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference
via GitHub by doerfli
, 10 months ago
Unable to start activity ComponentInfo{li.doerf.hacked/li.doerf.hacked.activities.BreachDetailsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Long li.doerf.hacked.db.tables.Account.getId()' on a null object reference
via GitHub by enoch85
, 1 year ago
Unable to start activity ComponentInfo{com.owncloud.android.beta/com.owncloud.android.ui.activity.FileDisplayActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.accounts.Account com.owncloud.android.datamodel.FileDataStorageManager.getAccount()' on a null object reference
via GitHub by enoch85
, 1 year ago
Unable to start activity ComponentInfo{com.owncloud.android.beta/com.owncloud.android.ui.activity.FileDisplayActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.accounts.Account com.owncloud.android.datamodel.FileDataStorageManager.getAccount()' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int org.onebusaway.android.ui.AlertList.getCount()' on a null object reference
at org.onebusaway.android.ui.ArrivalsListHeader.refreshError(ArrivalsListHeader.java:1224)
at org.onebusaway.android.ui.ArrivalsListHeader.refresh(ArrivalsListHeader.java:627)
at org.onebusaway.android.ui.HomeActivity$7.onPanelCollapsed(HomeActivity.java:1390)
at org.onebusaway.android.ui.HomeActivity$7.onPanelStateChanged(HomeActivity.java:1351)
at com.sothree.slidinguppanel.SlidingUpPanelLayout.dispatchOnPanelStateChanged(SlidingUpPanelLayout.java:644)
at com.sothree.slidinguppanel.SlidingUpPanelLayout.setPanelStateInternal(SlidingUpPanelLayout.java:1108)
at com.sothree.slidinguppanel.SlidingUpPanelLayout.setPanelState(SlidingUpPanelLayout.java:1080)
at org.onebusaway.android.ui.HomeActivity.updateArrivalListFragment(HomeActivity.java:1067)
at org.onebusaway.android.ui.HomeActivity.setupMapState(HomeActivity.java:1485)
at org.onebusaway.android.ui.HomeActivity.onCreate(HomeActivity.java:309)
at android.app.Activity.performCreate(Activity.java:6272)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)

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.

Know the solutions? Share your knowledge to help other developers to debug faster.