Jellyfin Forum
NullPointerException on FireTV app with Tvheadend Live-TV and Refresh Rate Switching - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: NullPointerException on FireTV app with Tvheadend Live-TV and Refresh Rate Switching (/t-nullpointerexception-on-firetv-app-with-tvheadend-live-tv-and-refresh-rate-switching)



NullPointerException on FireTV app with Tvheadend Live-TV and Refresh Rate Switching - fire14 - 2025-11-26

Hello,
using the Jellyfin for Fire TV 0.19.4 app I get a NullPointerException with Live-TV from Tvheadend, when refresh rate switching is activated:

Code:
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
at org.jellyfin.androidtv.ui.playback.PlaybackController.findBestDisplayMode(PlaybackController.java:297)
at org.jellyfin.androidtv.ui.playback.PlaybackController.setRefreshRate(PlaybackController.java:342)
at org.jellyfin.androidtv.ui.playback.PlaybackController.startItem(PlaybackController.java:640)
at org.jellyfin.androidtv.ui.playback.PlaybackController.access$100(PlaybackController.java:58)
at org.jellyfin.androidtv.ui.playback.PlaybackController$4.onResponse(PlaybackController.java:553)
at org.jellyfin.androidtv.ui.playback.PlaybackController$4.onResponse(PlaybackController.java:546)
at org.jellyfin.androidtv.ui.playback.PlaybackManager$getVideoStreamInfo$1.invokeSuspend(PlaybackManager.kt:69)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7719)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@5df771e, Dispatchers.Main.immediate]


Code:
{"APPLICATION_ID":"org.jellyfin.androidtv","BUILD_TYPE":"release","DEBUG":false,"DEVELOPMENT":false,"VERSION_CODE":190499,"VERSION_NAME":"0.19.4"}
 
Device information
Android version: 11
Device brand: Amazon
Device product: karat
Device model: AFTKRT

Server:
Jellyfin 10.11.3