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

Occasional crash when starting Jellyfin on NVIDIA Shield Pro #3579

Closed
AhiyaHiya opened this issue May 16, 2024 · 1 comment
Closed

Occasional crash when starting Jellyfin on NVIDIA Shield Pro #3579

AhiyaHiya opened this issue May 16, 2024 · 1 comment
Labels
bug Something isn't working stale

Comments

@AhiyaHiya
Copy link

Describe the bug

On NVIDIA SHIELD PRO, open Jellyfin app
Observe crash report error message

Logs


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

Logs

Stack Trace:

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.jellyfin.androidtv/org.jellyfin.androidtv.ui.browsing.MainActivity}: java.lang.NullPointerException
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3432)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3596)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2067)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7668)
	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)
Caused by: java.lang.NullPointerException
	at org.jellyfin.androidtv.data.querying.StdItemQuery.<init>(StdItemQuery.kt:23)
	at org.jellyfin.androidtv.ui.browsing.BrowseGridFragment.setupQueries(BrowseGridFragment.java:545)
	at org.jellyfin.androidtv.ui.browsing.BrowseGridFragment.onCreate(BrowseGridFragment.java:177)
	at androidx.fragment.app.Fragment.performCreate(Fragment.java:3094)
	at androidx.fragment.app.FragmentStateManager.create(FragmentStateManager.java:504)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:268)
	at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:114)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1455)
	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3034)
	at androidx.fragment.app.FragmentManager.dispatchCreate(FragmentManager.java:2941)
	at androidx.fragment.app.FragmentController.dispatchCreate(FragmentController.java:252)
	at androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:219)
	at org.jellyfin.androidtv.ui.browsing.MainActivity.onCreate(MainActivity.kt:57)
	at android.app.Activity.performCreate(Activity.java:8000)
	at android.app.Activity.performCreate(Activity.java:7984)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3405)
	... 11 more

Logcat:

05-16 07:05:45.275 D/ACRA    (21974): SimplePluginLoader loading services from plugin classes : [Ljava.lang.Class;@b685c4a
05-16 07:05:45.275 D/ACRA    (21974): ServicePluginLoader loading services from ServiceLoader : java.util.ServiceLoader[org.acra.scheduler.SenderSchedulerFactory]
05-16 07:05:45.276 D/ACRA    (21974): SimplePluginLoader loading services from plugin classes : [Ljava.lang.Class;@b685c4a
05-16 07:05:45.276 D/ACRA    (21974): ServicePluginLoader loading services from ServiceLoader : java.util.ServiceLoader[org.acra.config.ReportingAdministrator]
05-16 07:05:45.326 I/LogInitializer(21974): Debug tree planted
05-16 07:05:45.349 I/MigrationContext(21974): Requested migration from 2 to 2. Found 1 migrations in total.
05-16 07:05:45.386 W/lyfin.androidt(21974): Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
05-16 07:05:45.386 W/lyfin.androidt(21974): Accessing hidden method Ljava/util/Collections$SynchronizedSet;-><init>(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
05-16 07:05:45.386 W/lyfin.androidt(21974): Accessing hidden method Ljava/util/Collections$SynchronizedCollection;-><init>(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
05-16 07:05:45.389 I/SessionRepositoryImpl$restoreSession(21974): Restoring session
05-16 07:05:45.404 I/SessionRepositoryImpl(21974): Updating current session. userId=fd2a0a51-a0ba-4424-b03e-64a59c6e5635 apiBindingSuccess=true
05-16 07:05:45.407 I/org.jellyfin.sdk.api.client.KtorClient(21974): GET http://192.168.1.250:8096/Users/Me
05-16 07:05:45.419 D/WM-WrkMgrInitializer(21974): Initializing WorkManager with default configuration.
05-16 07:05:45.424 I/TetheringManager(21974): registerTetheringEventCallback:org.jellyfin.androidtv
05-16 07:05:45.425 D/WM-PackageManagerHelper(21974): Skipping component enablement for androidx.work.impl.background.systemjob.SystemJobService
05-16 07:05:45.425 D/WM-Schedulers(21974): Created SystemJobScheduler and enabled SystemJobService
05-16 07:05:45.426 W/lyfin.androidt(21974): Accessing hidden method Landroid/graphics/ImageDecoder;->createSource([B)Landroid/graphics/ImageDecoder$Source; (greylist-max-o, linking, denied)
05-16 07:05:45.439 D/ACRA    (21974): ACRA processName='org.jellyfin.androidtv'
05-16 07:05:45.546 I/MigrationContext(21974): Requested migration from 7 to 7. Found 1 migrations in total.
05-16 07:05:45.547 I/ActivityThemeExtensionsKt(21974): Applying theme MUTED_PURPLE
05-16 07:05:45.554 D/ACRA    (21974): onActivityCreated class org.jellyfin.androidtv.ui.browsing.MainActivity
05-16 07:05:45.560 I/org.jellyfin.sdk.api.client.KtorClient(21974): GET http://192.168.1.250:8096/DisplayPreferences/34f331a89ce405e2b877d68d5ee4d4a2?userId=fd2a0a51-a0ba-4424-b03e-64a59c6e5635&client=jellyfin-androidtv
05-16 07:05:45.576 D/BrowseGridFragment(21974): numCardsScreen <0>
05-16 07:05:45.577 D/AndroidRuntime(21974): Shutting down VM
05-16 07:05:45.591 E/AndroidRuntime(21974): FATAL EXCEPTION: main
05-16 07:05:45.591 E/AndroidRuntime(21974): Process: org.jellyfin.androidtv, PID: 21974
05-16 07:05:45.591 E/AndroidRuntime(21974): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.jellyfin.androidtv/org.jellyfin.androidtv.ui.browsing.MainActivity}: java.lang.NullPointerException
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3432)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3596)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2067)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.os.Handler.dispatchMessage(Handler.java:106)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.os.Looper.loop(Looper.java:223)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.app.ActivityThread.main(ActivityThread.java:7668)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at java.lang.reflect.Method.invoke(Native Method)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
05-16 07:05:45.591 E/AndroidRuntime(21974): Caused by: java.lang.NullPointerException
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at org.jellyfin.androidtv.data.querying.StdItemQuery.<init>(StdItemQuery.kt:23)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at org.jellyfin.androidtv.ui.browsing.BrowseGridFragment.setupQueries(BrowseGridFragment.java:545)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at org.jellyfin.androidtv.ui.browsing.BrowseGridFragment.onCreate(BrowseGridFragment.java:177)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at androidx.fragment.app.Fragment.performCreate(Fragment.java:3094)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at androidx.fragment.app.FragmentStateManager.create(FragmentStateManager.java:504)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:268)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:114)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1455)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3034)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at androidx.fragment.app.FragmentManager.dispatchCreate(FragmentManager.java:2941)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at androidx.fragment.app.FragmentController.dispatchCreate(FragmentController.java:252)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:219)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at org.jellyfin.androidtv.ui.browsing.MainActivity.onCreate(MainActivity.kt:57)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.app.Activity.performCreate(Activity.java:8000)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.app.Activity.performCreate(Activity.java:7984)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3405)
05-16 07:05:45.591 E/AndroidRuntime(21974): 	... 11 more
05-16 07:05:45.591 E/ACRA    (21974): ACRA caught a RuntimeException for org.jellyfin.androidtv
05-16 07:05:45.591 E/ACRA    (21974): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.jellyfin.androidtv/org.jellyfin.androidtv.ui.browsing.MainActivity}: java.lang.NullPointerException
05-16 07:05:45.591 E/ACRA    (21974): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3432)
05-16 07:05:45.591 E/ACRA    (21974): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3596)
05-16 07:05:45.591 E/ACRA    (21974): 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
05-16 07:05:45.591 E/ACRA    (21974): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
05-16 07:05:45.591 E/ACRA    (21974): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
05-16 07:05:45.591 E/ACRA    (21974): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2067)
05-16 07:05:45.591 E/ACRA    (21974): 	at android.os.Handler.dispatchMessage(Handler.java:106)
05-16 07:05:45.591 E/ACRA    (21974): 	at android.os.Looper.loop(Looper.java:223)
05-16 07:05:45.591 E/ACRA    (21974): 	at android.app.ActivityThread.main(ActivityThread.java:7668)
05-16 07:05:45.591 E/ACRA    (21974): 	at java.lang.reflect.Method.invoke(Native Method)
05-16 07:05:45.591 E/ACRA    (21974): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
05-16 07:05:45.591 E/ACRA    (21974): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
05-16 07:05:45.591 E/ACRA    (21974): Caused by: java.lang.NullPointerException
05-16 07:05:45.591 E/ACRA    (21974): 	at org.jellyfin.androidtv.data.querying.StdItemQuery.<init>(StdItemQuery.kt:23)
05-16 07:05:45.591 E/ACRA    (21974): 	at org.jellyfin.androidtv.ui.browsing.BrowseGridFragment.setupQueries(BrowseGridFragment.java:545)
05-16 07:05:45.591 E/ACRA    (21974): 	at org.jellyfin.androidtv.ui.browsing.BrowseGridFragment.onCreate(BrowseGridFragment.java:177)
05-16 07:05:45.591 E/ACRA    (21974): 	at androidx.fragment.app.Fragment.performCreate(Fragment.java:3094)
05-16 07:05:45.591 E/ACRA    (21974): 	at androidx.fragment.app.FragmentStateManager.create(FragmentStateManager.java:504)
05-16 07:05:45.591 E/ACRA    (21974): 	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:268)
05-16 07:05:45.591 E/ACRA    (21974): 	at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:114)
05-16 07:05:45.591 E/ACRA    (21974): 	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1455)
05-16 07:05:45.591 E/ACRA    (21974): 	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3034)
05-16 07:05:45.591 E/ACRA    (21974): 	at androidx.fragment.app.FragmentManager.dispatchCreate(FragmentManager.java:2941)
05-16 07:05:45.591 E/ACRA    (21974): 	at androidx.fragment.app.FragmentController.dispatchCreate(FragmentController.java:252)
05-16 07:05:45.591 E/ACRA    (21974): 	at androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:219)
05-16 07:05:45.591 E/ACRA    (21974): 	at org.jellyfin.androidtv.ui.browsing.MainActivity.onCreate(MainActivity.kt:57)
05-16 07:05:45.591 E/ACRA    (21974): 	at android.app.Activity.performCreate(Activity.java:8000)
05-16 07:05:45.591 E/ACRA    (21974): 	at android.app.Activity.performCreate(Activity.java:7984)
05-16 07:05:45.591 E/ACRA    (21974): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
05-16 07:05:45.591 E/ACRA    (21974): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3405)
05-16 07:05:45.591 E/ACRA    (21974): 	... 11 more
05-16 07:05:45.591 D/ACRA    (21974): Building report
05-16 07:05:45.592 D/ACRA    (21974): Starting collectors with priority FIRST
05-16 07:05:45.592 D/ACRA    (21974): Calling collector org.acra.collector.DropBoxCollector
05-16 07:05:45.592 D/ACRA    (21974): Collector org.acra.collector.DropBoxCollector completed
05-16 07:05:45.593 D/ACRA    (21974): Calling collector org.acra.collector.LogCatCollector
05-16 07:05:45.593 D/ACRA    (21974): Calling collector org.acra.collector.StacktraceCollector
05-16 07:05:45.593 D/ACRA    (21974): Collector org.acra.collector.StacktraceCollector completed
05-16 07:05:45.626 D/ACRA    (21974): Retrieving logcat output (buffer:default)...

App information

App version: 0.16.10 (161099)
Package name: org.jellyfin.androidtv
Build:

{"BOARD":"darcy","BOOTLOADER":"32.00.2019.50-t210-69ebfcbe","BRAND":"NVIDIA","CPU_ABI":"arm64-v8a","CPU_ABI2":"","DEVICE":"mdarcy","DISPLAY":"RQ1A.210105.003.7825230_3167.5736","FINGERPRINT":"NVIDIA\/mdarcy\/mdarcy:11\/RQ1A.210105.003\/7825230_3167.5736:user\/release-keys","HARDWARE":"darcy","HOST":"mobile-u64-5308-d7000","ID":"RQ1A.210105.003","IS_DEBUGGABLE":false,"IS_EMULATOR":false,"MANUFACTURER":"NVIDIA","MODEL":"SHIELD Android TV","PERMISSIONS_REVIEW_REQUIRED":true,"PRODUCT":"mdarcy","RADIO":"unknown","SUPPORTED_32_BIT_ABIS":["armeabi-v7a","armeabi"],"SUPPORTED_64_BIT_ABIS":["arm64-v8a"],"SUPPORTED_ABIS":["arm64-v8a","armeabi-v7a","armeabi"],"TAGS":"release-keys","TIME":1665975826000,"TYPE":"user","UNKNOWN":"unknown","USER":"NVIDIA","VERSION":{"ACTIVE_CODENAMES":[],"BASE_OS":"","CODENAME":"REL","INCREMENTAL":"7825230_3167.5736","PREVIEW_SDK_FINGERPRINT":"REL","PREVIEW_SDK_INT":0,"RELEASE":"11","RELEASE_OR_CODENAME":"11","SDK":"30","SDK_INT":30,"SECURITY_PATCH":"2022-04-05"}}

Build config:

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

Device information

Android version: 11
Device brand: NVIDIA
Device product: mdarcy
Device model: SHIELD Android TV

Crash information

Start time: 2024-05-16T07:05:45.275-07:00
Crash time: 2024-05-16T07:05:45.659-07:00

Application version

0.16.10

Where did you install the app from?

Google Play

Device information

NVIDIA SHIELD Android TV Pro (2020)

Android version

11

Jellyfin server version

10.8.13

@AhiyaHiya AhiyaHiya added the bug Something isn't working label May 16, 2024
@jellyfin-bot
Copy link
Contributor

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@jellyfin-bot jellyfin-bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants