-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Labels
bugIssue is related to a bugIssue is related to a bugdownloaderIssue is related to the downloaderIssue is related to the downloader
Description
Checklist
- I am using the latest version - x.xx.x
- I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
- I have read the contribution guidelines given at https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md.
- This issue contains only one bug. I will open one issue for every bug report I want to file.
Steps to reproduce the bug
download any video or go to see download folder in the app, app restarts a couple of time and crashes
happening only if I enable SAF, its default in 0.21.6 also happens in 0.21.5 if I enabled it
but in 0.21.5, I could atleast see my downloads folder, in 0.21.6 it crashes in both cases, seeing the downloads folder or downloading a video/audio
Actual behavior
Expected behavior
Screenshots/Screen recordings
Screen_Recording_20210717-131612_NewPipe.mp4
Logs
`## Exception
- User Action: ui error
- Request: ACRA report
- Content Country: US
- Content Language: en-US
- App Language: en_US
- Service: none
- Version: 0.21.6
- OS: Linux Android 10 - 29
Crash log
java.lang.RuntimeException: Unable to create service us.shandian.giga.service.DownloadManagerService: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.schabi.newpipe.streams.io.StoredFileHelper.toString()' on a null object reference
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4412)
at android.app.ActivityThread.access$1800(ActivityThread.java:274)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2118)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8167)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.schabi.newpipe.streams.io.StoredFileHelper.toString()' on a null object reference
at us.shandian.giga.service.DownloadManager.loadPendingMissions(DownloadManager.java:165)
at us.shandian.giga.service.DownloadManager.<init>(DownloadManager.java:77)
at us.shandian.giga.service.DownloadManagerService.onCreate(DownloadManagerService.java:142)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4400)
... 8 more
`
Device info
- Android version/Custom ROM version:
- Device model:
matthias4217
Metadata
Metadata
Assignees
Labels
bugIssue is related to a bugIssue is related to a bugdownloaderIssue is related to the downloaderIssue is related to the downloader