Plex version 6.15.2.4143 running on Nvidia Shield TV
Plex is crashing whenever I try to select a TV show without metadata info.
Here’s what I gathered from the logs:
04-05 21:07:09.914 i: [UserAction] Click item Kitchenightil (/library/metadata/2151/children).
04-05 21:07:09.917 i: Fetching [method:GET] https://192.168.86.28:32400/library/metadata/2151?includeExtras=1&X-Plex-Token=...i3tN
04-05 21:07:09.942 i: Fetching [method:GET] https://192.168.86.28:32400/library/metadata/2151/children?X-Plex-Token=...i3tN
04-05 21:07:10.002 i: Creating PreplayShowActivity.
04-05 21:07:10.019 i: Fetching [method:GET] https://192.168.86.28:32400/library/sections/1/all?includeCollections=1&type=2&X-Plex-Token=...i3tN
04-05 21:07:10.033 i: [Boot] PreplayShowActivity took 9ms to run create behaviours.
04-05 21:07:10.039 i: Resuming PreplayShowActivity.
04-05 21:07:10.114 e: Fatal exception occurred.
04-05 21:07:10.115 e: An exception occurred: java.lang.RuntimeException: Unable to resume activity {com.plexapp.android/com.plexapp.plex.activities.tv17.PreplayShowActivity}: java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean java.lang.String.equals(java.lang.Object)’ on a null object reference
04-05 21:07:10.116 e: Stacktrace: java.lang.RuntimeException: Unable to resume activity {com.plexapp.android/com.plexapp.plex.activities.tv17.PreplayShowActivity}: java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean java.lang.String.equals(java.lang.Object)’ on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3454)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3494)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1461)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6120)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean java.lang.String.equals(java.lang.Object)’ on a null object reference
at com.plexapp.plex.activities.tv17.PlexPreplayActivity.an(SourceFile:603)
at com.plexapp.plex.activities.tv17.k.a(SourceFile:122)
at com.plexapp.plex.activities.tv17.PlexPreplayActivity.ar(SourceFile:136)
at com.plexapp.plex.activities.tv17.PlexPreplayActivity.onResume(SourceFile:129)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1269)
at android.app.Activity.performResume(Activity.java:6768)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3431)
… 10 more
Potentially related thread:
Would be really grateful if someone from the Plex team can comment on this. I’m happy to install debug builds or anything else that would help in tracking this down.