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

IndexOutOfBoundsException in DepartureAdapter #939

Open
grote opened this issue Mar 25, 2024 · 1 comment
Open

IndexOutOfBoundsException in DepartureAdapter #939

grote opened this issue Mar 25, 2024 · 1 comment
Labels
bug 🐞 A functional defect or unexpected behavior.

Comments

@grote
Copy link
Owner

grote commented Mar 25, 2024

Exception java.lang.IndexOutOfBoundsException: Asked to get item at -1 but size is 0
  at androidx.recyclerview.widget.SortedList.get (SortedList.java:706)
  at de.grobox.transportr.departures.DepartureAdapter.getItem (DepartureAdapter.java:96)
  at de.grobox.transportr.departures.DeparturesActivity.loadMoreDepartures (DeparturesActivity.java:238)
  at de.grobox.transportr.departures.DeparturesActivity.lambda$onCreate$0 (DeparturesActivity.java:127)
  at de.grobox.transportr.departures.DeparturesActivity.$r8$lambda$3f5aVX6MH5h4XzeWB06Qw6Y12cc (DeparturesActivity.java)
  at de.grobox.transportr.departures.DeparturesActivity$$ExternalSyntheticLambda0.onRefresh (R8$$SyntheticClass)
  at com.omadahealth.github.swipyrefreshlayout.library.SwipyRefreshLayout$1.onAnimationEnd (SwipyRefreshLayout.java:176)
  at com.omadahealth.github.swipyrefreshlayout.library.CircleImageView.onAnimationEnd (CircleImageView.java:108)
@grote grote added the bug 🐞 A functional defect or unexpected behavior. label Mar 25, 2024
@Altonss
Copy link
Collaborator

Altonss commented May 12, 2024

Do you have any idea why this bug happened?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 A functional defect or unexpected behavior.
Projects
None yet
Development

No branches or pull requests

2 participants