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

Crashes when playing a video in a playlist #6023

Closed
3 tasks done
gloriouspuffy opened this issue May 13, 2024 · 1 comment · Fixed by #6083
Closed
3 tasks done

Crashes when playing a video in a playlist #6023

gloriouspuffy opened this issue May 13, 2024 · 1 comment · Fixed by #6083
Labels
bug Something isn't working can't reproduce

Comments

@gloriouspuffy
Copy link

Steps to reproduce

  1. Open a playlist
  2. Click on a video before the thumbnail loads

Expected behavior

Video loads without any problems

Actual behavior

Libretube crashes returning this in next launch

java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.next(ArrayList.java:860)
at com.github.libretube.util.PlayingQueue.currentIndex(SourceFile:16)
at com.github.libretube.util.PlayingQueue.getPrev(SourceFile:8)
at com.github.libretube.ui.views.OnlinePlayerView.syncQueueButtons(SourceFile:30)
at androidx.core.app.ActivityCompat$$ExternalSyntheticLambda0.run(SourceFile:86)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7959)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

LibreTube version

0.23.2

Android version

Android 13, Superior OS, Redmi 9(cattail)

Other details

I've noticed that this issue doesn't occur if I search for the video since thumbnail loads almost instantly but the thumbnail won't load in playlist(could be because it has 1k+ videos) and crashes if i play it

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.
@gloriouspuffy gloriouspuffy added the bug Something isn't working label May 13, 2024
@gloriouspuffy gloriouspuffy changed the title Crashes when playing a video in a playlist before Crashes when playing a video in a playlist be May 13, 2024
@gloriouspuffy gloriouspuffy changed the title Crashes when playing a video in a playlist be Crashes when playing a video in a playlist May 13, 2024
@User8388493929
Copy link

Can reproduce on a nightly build, although I'm unsure if it's actually related to thumbnails.

screenrecord-libretube.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working can't reproduce
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants