Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Crash] - NullPointerException in UIUtils.getAllSituations #1278

Open
amrhossamdev opened this issue Nov 4, 2024 · 1 comment
Open

[Crash] - NullPointerException in UIUtils.getAllSituations #1278

amrhossamdev opened this issue Nov 4, 2024 · 1 comment
Assignees
Labels

Comments

@amrhossamdev
Copy link
Member

Summary:

The app crashed with a java.lang.NullPointerException when trying to get the length of a null situation array.

How can we reproduce the issue?

  1. Navigate to the Arrivals List.
  2. Wait for the arrival list to load.

it's not guaranteed it'll happen.

Observed behavior:

The app crashes with a NullPointerException.

Stacktrace

Fatal Exception: java.lang.NullPointerException
Attempt to get length of null array
org.onebusaway.android.util.UIUtils.getAllSituations (UIUtils.java:105)
org.onebusaway.android.ui.ArrivalsListFragment.onLoadFinished (ArrivalsListFragment.java)
org.onebusaway.android.ui.ArrivalsListFragment.onLoadFinished (ArrivalsListFragment.java)
org.onebusaway.android.ui.ArrivalsListFragment.onLoadFinished (ArrivalsListFragment.java)
org.onebusaway.android.ui.ArrivalsListFragment.onLoadFinished (ArrivalsListFragment.java)
androidx.loader.app.LoaderManagerImpl$LoaderObserver.onChanged (LoaderManagerImpl.java:46)
androidx.loader.content.Loader.deliverResult (Loader.java:4)
org.onebusaway.android.ui.ArrivalsListLoader.deliverResult (ArrivalsListLoader.java)
org.onebusaway.android.ui.ArrivalsListLoader.deliverResult (ArrivalsListLoader.java)
org.onebusaway.android.ui.ArrivalsListLoader.deliverResult (ArrivalsListLoader.java)
org.onebusaway.android.ui.ArrivalsListLoader.deliverResult (ArrivalsListLoader.java)

Device and Android version:

App Version: 2.14.4 (148)
OS Version: Android 14
Device Model: Pixel 6a

@amrhossamdev amrhossamdev self-assigned this Nov 4, 2024
@amrhossamdev
Copy link
Member Author

Currently can't reproduce... I will keep that open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant