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 on playing next episode #4458

Open
3 tasks done
JPVenson opened this issue Feb 14, 2025 · 0 comments
Open
3 tasks done

Crash on playing next episode #4458

JPVenson opened this issue Feb 14, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@JPVenson
Copy link
Member

This issue respects the following points:

  • This issue is not already reported on GitHub (I've searched it).
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Describe the bug

When letting the ATV app switching to the next episode, for a certain episode it crashes when having a specific subtitle selected.

Logs


client: Jellyfin for Android TV
client_version: 0.18.0
client_repository: https://github.com/jellyfin/jellyfin-androidtv
type: crash_report
format: markdown

Logs

Stack Trace:

java.util.NoSuchElementException: Collection contains no element matching the predicate.
	at org.jellyfin.androidtv.ui.playback.PlaybackControllerHelperKt.setSubtitleIndex(PlaybackControllerHelper.kt:208)
	at org.jellyfin.androidtv.ui.playback.PlaybackController.onPrepared(PlaybackController.java:1130)
	at org.jellyfin.androidtv.ui.playback.VideoManager$1.onIsPlayingChanged(VideoManager.java:120)
	at androidx.media3.exoplayer.ExoPlayerImpl.lambda$updatePlaybackInfo$24(ExoPlayerImpl.java:2174)
	at androidx.media3.exoplayer.ExoPlayerImpl$$ExternalSyntheticLambda23.invoke(D8$$SyntheticClass:0)
	at androidx.media3.common.util.ListenerSet$ListenerHolder.invoke(ListenerSet.java:339)
	at androidx.media3.common.util.ListenerSet.lambda$queueEvent$0(ListenerSet.java:223)
	at androidx.media3.common.util.ListenerSet$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0)
	at androidx.media3.common.util.ListenerSet.flushEvents(ListenerSet.java:245)
	at androidx.media3.exoplayer.ExoPlayerImpl.updatePlaybackInfo(ExoPlayerImpl.java:2182)
	at androidx.media3.exoplayer.ExoPlayerImpl.handlePlaybackInfo(ExoPlayerImpl.java:2016)
	at androidx.media3.exoplayer.ExoPlayerImpl.lambda$new$1$androidx-media3-exoplayer-ExoPlayerImpl(ExoPlayerImpl.java:351)
	at androidx.media3.exoplayer.ExoPlayerImpl$$ExternalSyntheticLambda12.run(D8$$SyntheticClass:0)
	at android.os.Handler.handleCallback(Handler.java:883)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7356)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)

Logcat:

02-13 20:39:39.151 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.153 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.153 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.154 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.155 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.156 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.156 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.157 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.157 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.158 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.158 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.160 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.160 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.161 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.161 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.162 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.162 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.164 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.164 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.165 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.165 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.166 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.166 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.167 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.167 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.169 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.169 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.170 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.170 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.171 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.171 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.173 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.173 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.174 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.174 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.175 D/gralloc (19979): mali_gralloc_select_format: req_format=0x7f000101, usage=0x30002900, req_base_format=0x7f000101, alloc_format=0x7f000101, internal_format=0x7f000101
02-13 20:39:39.175 W/gralloc (19979): Legacy allocation size calculation failed. Relying upon new calculation instead.
02-13 20:39:39.272 D/ReportingHelper$reportProgress(19979): Reporting Kriegsbeute playback progress at 0
02-13 20:39:39.272 I/org.jellyfin.sdk.api.ktor.KtorClient(19979): POST https://DOMAIN/Sessions/Playing/Progress
02-13 20:39:39.274 V/io.ktor.client.plugins.HttpPlainText(19979): Adding Accept-Charset=UTF-8 to https://DOMAIN/Sessions/Playing/Progress
02-13 20:39:39.274 V/io.ktor.client.plugins.defaultTransformers(19979): Transformed with default transformers request body for https://DOMAIN/Sessions/Playing/Progress from class io.ktor.http.content.TextContent (Kotlin reflection is not available)
02-13 20:39:39.277 I/PlaybackController(19979): Play method: Direct
02-13 20:39:39.278 I/PlaybackControllerHelperKt(19979): Switching subtitles from index 10 to 10
02-13 20:39:39.279 D/AndroidRuntime(19979): Shutting down VM
--------- beginning of crash
02-13 20:39:39.281 E/AndroidRuntime(19979): FATAL EXCEPTION: main
02-13 20:39:39.281 E/AndroidRuntime(19979): Process: org.jellyfin.androidtv, PID: 19979
02-13 20:39:39.281 E/AndroidRuntime(19979): java.util.NoSuchElementException: Collection contains no element matching the predicate.
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at org.jellyfin.androidtv.ui.playback.PlaybackControllerHelperKt.setSubtitleIndex(PlaybackControllerHelper.kt:208)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at org.jellyfin.androidtv.ui.playback.PlaybackController.onPrepared(PlaybackController.java:1130)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at org.jellyfin.androidtv.ui.playback.VideoManager$1.onIsPlayingChanged(VideoManager.java:120)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at androidx.media3.exoplayer.ExoPlayerImpl.lambda$updatePlaybackInfo$24(ExoPlayerImpl.java:2174)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at androidx.media3.exoplayer.ExoPlayerImpl$$ExternalSyntheticLambda23.invoke(D8$$SyntheticClass:0)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at androidx.media3.common.util.ListenerSet$ListenerHolder.invoke(ListenerSet.java:339)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at androidx.media3.common.util.ListenerSet.lambda$queueEvent$0(ListenerSet.java:223)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at androidx.media3.common.util.ListenerSet$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at androidx.media3.common.util.ListenerSet.flushEvents(ListenerSet.java:245)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at androidx.media3.exoplayer.ExoPlayerImpl.updatePlaybackInfo(ExoPlayerImpl.java:2182)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at androidx.media3.exoplayer.ExoPlayerImpl.handlePlaybackInfo(ExoPlayerImpl.java:2016)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at androidx.media3.exoplayer.ExoPlayerImpl.lambda$new$1$androidx-media3-exoplayer-ExoPlayerImpl(ExoPlayerImpl.java:351)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at androidx.media3.exoplayer.ExoPlayerImpl$$ExternalSyntheticLambda12.run(D8$$SyntheticClass:0)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at android.os.Handler.handleCallback(Handler.java:883)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at android.os.Handler.dispatchMessage(Handler.java:100)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at android.os.Looper.loop(Looper.java:214)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at android.app.ActivityThread.main(ActivityThread.java:7356)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at java.lang.reflect.Method.invoke(Native Method)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
02-13 20:39:39.281 E/AndroidRuntime(19979): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)
02-13 20:39:39.285 E/ACRA    (19979): ACRA caught a NoSuchElementException for org.jellyfin.androidtv
02-13 20:39:39.285 E/ACRA    (19979): java.util.NoSuchElementException: Collection contains no element matching the predicate.
02-13 20:39:39.285 E/ACRA    (19979): 	at org.jellyfin.androidtv.ui.playback.PlaybackControllerHelperKt.setSubtitleIndex(PlaybackControllerHelper.kt:208)
02-13 20:39:39.285 E/ACRA    (19979): 	at org.jellyfin.androidtv.ui.playback.PlaybackController.onPrepared(PlaybackController.java:1130)
02-13 20:39:39.285 E/ACRA    (19979): 	at org.jellyfin.androidtv.ui.playback.VideoManager$1.onIsPlayingChanged(VideoManager.java:120)
02-13 20:39:39.285 E/ACRA    (19979): 	at androidx.media3.exoplayer.ExoPlayerImpl.lambda$updatePlaybackInfo$24(ExoPlayerImpl.java:2174)
02-13 20:39:39.285 E/ACRA    (19979): 	at androidx.media3.exoplayer.ExoPlayerImpl$$ExternalSyntheticLambda23.invoke(D8$$SyntheticClass:0)
02-13 20:39:39.285 E/ACRA    (19979): 	at androidx.media3.common.util.ListenerSet$ListenerHolder.invoke(ListenerSet.java:339)
02-13 20:39:39.285 E/ACRA    (19979): 	at androidx.media3.common.util.ListenerSet.lambda$queueEvent$0(ListenerSet.java:223)
02-13 20:39:39.285 E/ACRA    (19979): 	at androidx.media3.common.util.ListenerSet$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0)
02-13 20:39:39.285 E/ACRA    (19979): 	at androidx.media3.common.util.ListenerSet.flushEvents(ListenerSet.java:245)
02-13 20:39:39.285 E/ACRA    (19979): 	at androidx.media3.exoplayer.ExoPlayerImpl.updatePlaybackInfo(ExoPlayerImpl.java:2182)
02-13 20:39:39.285 E/ACRA    (19979): 	at androidx.media3.exoplayer.ExoPlayerImpl.handlePlaybackInfo(ExoPlayerImpl.java:2016)
02-13 20:39:39.285 E/ACRA    (19979): 	at androidx.media3.exoplayer.ExoPlayerImpl.lambda$new$1$androidx-media3-exoplayer-ExoPlayerImpl(ExoPlayerImpl.java:351)
02-13 20:39:39.285 E/ACRA    (19979): 	at androidx.media3.exoplayer.ExoPlayerImpl$$ExternalSyntheticLambda12.run(D8$$SyntheticClass:0)
02-13 20:39:39.285 E/ACRA    (19979): 	at android.os.Handler.handleCallback(Handler.java:883)
02-13 20:39:39.285 E/ACRA    (19979): 	at android.os.Handler.dispatchMessage(Handler.java:100)
02-13 20:39:39.285 E/ACRA    (19979): 	at android.os.Looper.loop(Looper.java:214)
02-13 20:39:39.285 E/ACRA    (19979): 	at android.app.ActivityThread.main(ActivityThread.java:7356)
02-13 20:39:39.285 E/ACRA    (19979): 	at java.lang.reflect.Method.invoke(Native Method)
02-13 20:39:39.285 E/ACRA    (19979): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
02-13 20:39:39.285 E/ACRA    (19979): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)
02-13 20:39:39.285 D/ACRA    (19979): Building report
02-13 20:39:39.291 D/ACRA    (19979): Starting collectors with priority FIRST
02-13 20:39:39.292 D/ACRA    (19979): Calling collector org.acra.collector.DropBoxCollector
02-13 20:39:39.292 D/ACRA    (19979): Collector org.acra.collector.DropBoxCollector completed
02-13 20:39:39.293 D/ACRA    (19979): Calling collector org.acra.collector.LogCatCollector
02-13 20:39:39.294 D/ACRA    (19979): Calling collector org.acra.collector.StacktraceCollector
02-13 20:39:39.299 D/ACRA    (19979): Collector org.acra.collector.StacktraceCollector completed
02-13 20:39:39.306 D/ACRA    (19979): Retrieving logcat output (buffer:default)...
02-13 20:39:39.329 E/libc    (28164): Access denied finding property "persist.vendor.system.svp.dbg.loglevel"

App information

App version: 0.18.0 (180099)
Package name: org.jellyfin.androidtv
Build:

{"BOARD":"mt5893","BOOTLOADER":"unknown","BRAND":"Sony","CPU_ABI":"armeabi-v7a","CPU_ABI2":"armeabi","DEVICE":"BRAVIA_UR2_4K","DISPLAY":"BRAVIA_UR2_4K_EU-user 10 QTG3.200305.006.S63 661521 release-keys","FINGERPRINT":"Sony\/BRAVIA_UR2_4K_EU\/BRAVIA_UR2_4K:10\/QTG3.200305.006.S63\/661521:user\/release-keys","HARDWARE":"mt5893","HOST":"BuildHost573","ID":"QTG3.200305.006.S63","IS_DEBUGGABLE":false,"IS_EMULATOR":false,"MANUFACTURER":"Sony","MODEL":"BRAVIA 4K UR2","PERMISSIONS_REVIEW_REQUIRED":true,"PRODUCT":"BRAVIA_UR2_4K_EU","RADIO":"unknown","SUPPORTED_32_BIT_ABIS":["armeabi-v7a","armeabi"],"SUPPORTED_64_BIT_ABIS":[],"SUPPORTED_ABIS":["armeabi-v7a","armeabi"],"TAGS":"release-keys","TIME":1723062128000,"TYPE":"user","UNKNOWN":"unknown","USER":"root","VERSION":{"ACTIVE_CODENAMES":[],"BASE_OS":"","CODENAME":"REL","FIRST_SDK_INT":28,"INCREMENTAL":"661521","PREVIEW_SDK_FINGERPRINT":"REL","PREVIEW_SDK_INT":0,"RELEASE":"10","RESOURCES_SDK_INT":29,"SDK":"29","SDK_INT":29,"SECURITY_PATCH":"2024-06-01"}}

Build config:

{"APPLICATION_ID":"org.jellyfin.androidtv","BUILD_TYPE":"release","DEBUG":false,"DEVELOPMENT":false,"VERSION_CODE":180099,"VERSION_NAME":"0.18.0"}

Device information

Android version: 10
Device brand: Sony
Device product: BRAVIA_UR2_4K_EU
Device model: BRAVIA 4K UR2

Crash information

Start time: 2025-02-13T17:08:59.888+01:00
Crash time: 2025-02-13T20:39:39.373+01:00

Application version

0.18.0

Where did you install the app from?

Google Play Store

Device information

BRAVIA 4K UR2

Android version

10

Jellyfin server version

10.10.5

Other sources

No response

@JPVenson JPVenson added the bug Something isn't working label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant