[Bug] Crash on selecting downloads view
Checklist
- [x] I make sure that the issue is NOT a duplicate of pinned issues
- [x] I make sure I am using the LATEST version - check here
- [x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
- [x] I have attached the error report in the issue
Describe the bug
Exception
- User Action: ui error
- Request: ACRA report
- Content Country: SE
- Content Language: sv-SE
- App Language: sv_SE
- Service: none
- Endpoint: visionos
- Version: 5.2.5
- OS: Linux samsung/pa3qxeea/pa3q:16/BP4A.251205.006/S938BXXUACZF1_OXMACZF1:user/release-keys 16 - 36
Exceptions (2)
Crash log 1
java.lang.RuntimeException: Unable to create service us.shandian.giga.service.DownloadManagerService
at android.app.ActivityThread.handleCreateService(ActivityThread.java:6294)
at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:3059)
at android.os.Handler.dispatchMessage(Handler.java:132)
at android.os.Looper.dispatchMessage(Looper.java:358)
at android.os.Looper.loopOnce(Looper.java:288)
at android.os.Looper.loop(Looper.java:392)
at android.app.ActivityThread.main(ActivityThread.java:10346)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:638)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:972)
Caused by: java.lang.NullPointerException: file
at android.net.Uri.fromFile(Uri.java:482)
at org.schabi.newpipe.streams.io.StoredFileHelper.getUri(r8-map-id-d52fe7a0c9e2aeb2ddb232ab0614e5b949c3b9a4273459f4324b0fd8e608de8c:10)
at us.shandian.giga.get.sqlite.FinishedMissionStore.addFinishedMission(r8-map-id-d52fe7a0c9e2aeb2ddb232ab0614e5b949c3b9a4273459f4324b0fd8e608de8c:15)
at us.shandian.giga.service.DownloadManager.setFinished(r8-map-id-d52fe7a0c9e2aeb2ddb232ab0614e5b949c3b9a4273459f4324b0fd8e608de8c:56)
at us.shandian.giga.service.DownloadManager.<init>(r8-map-id-d52fe7a0c9e2aeb2ddb232ab0614e5b949c3b9a4273459f4324b0fd8e608de8c:387)
at us.shandian.giga.service.DownloadManagerService.onCreate(r8-map-id-d52fe7a0c9e2aeb2ddb232ab0614e5b949c3b9a4273459f4324b0fd8e608de8c:57)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:6283)
... 10 more
Crash log 2
Last SABR diagnostics
event=pump segments=0
timeMs=1786138794105
videoId=0X4KoAh9s_Y
playerTimeMs=22925
readerHeadMs=50001
readerTailMs=47280
videoItag=399
videoHeight=1080
videoBitrate=2239477
audioItag=251
audioBitrate=147857
heapUsedBytes=82684608
heapFreeBytes=19852928
heapTotalBytes=102537536
heapMaxBytes=536870912
pssKb=425854
sabr=requestNumber=5, cachedBytes=10093042, peakCachedBytes=10093042, totalResponseBytes=10096597, maxResponseBytes=6189103, maxUmpPartBytes=262145, maxMediaPartPayloadBytes=262144, maxSegmentBytes=1765805, maxSegmentsPerResponse=7
Version
5.2.5
Frequency
Always (100% of the time)
Device
Samsung Galaxy S25 Ultra, Android 16
Steps to reproduce the bug
- Click on "Hämtningar" in side menu
- Downloads view is visible, but blank of items
- Then an empty purple full screen view is repeatedly shown together with a toaster containing text "Ange en hämtningsmapp senare i inställningarna"
- Finally exception message is displayed
Additional context
No response