Checklist
Affected version
0.23.0
Steps to reproduce the bug
- Pick a video to download
- Select parameters and click OK
- UI will ask to select download folder
- select folder and press
Use this folder
- UI crashes
Expected behavior
UI should not crash, and selected folder should be used for download
Actual behavior
UI crashes generating exception.
Screenshots/Screen recordings
No response
Logs
Search
Note to Self
You can add notes for yourself in this conversation. If your account has any linked devices, new notes will be synced.
Exception
- User Action: ui error
- Request: ACRA report
- Content Country: US
- Content Language: en-US
- App Language: en_US
- Service: none
- Version: 0.23.0
- OS: Linux motorola/racer_retail/racer:11/RPD31.Q4U-39-26-14/dcd58b:user/release-keys 11 - 30
Crash log
java.lang.RuntimeException: Unable to resume activity {org.schabi.newpipe/org.schabi.newpipe.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1597476056, result=-1, data=Intent { dat=content://com.android.externalstorage.documents/tree/primary:Podcasts flg=0xc3 }} to activity {org.schabi.newpipe/org.schabi.newpipe.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toLowerCase()' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4506)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4538)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2115)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:250)
at android.app.ActivityThread.main(ActivityThread.java:7755)
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:958)
Caused by: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1597476056, result=-1, data=Intent { dat=content://com.android.externalstorage.documents/tree/primary:Podcasts flg=0xc3 }} to activity {org.schabi.newpipe/org.schabi.newpipe.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toLowerCase()' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:5080)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4493)
... 11 more
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toLowerCase()' on a null object reference
at org.schabi.newpipe.streams.io.StoredDirectoryHelper.findFileSAFHelper(StoredDirectoryHelper.java:300)
at org.schabi.newpipe.streams.io.StoredDirectoryHelper.findFile(StoredDirectoryHelper.java:218)
at org.schabi.newpipe.download.DownloadDialog.requestDownloadPickFolderResult(DownloadDialog.java:527)
at org.schabi.newpipe.download.DownloadDialog.requestDownloadPickAudioFolderResult(DownloadDialog.java:463)
at org.schabi.newpipe.download.DownloadDialog.$r8$lambda$ZkWQqHfoXkKABn6hHnEEj8ilCGQ(Unknown Source:0)
at org.schabi.newpipe.download.DownloadDialog$$ExternalSyntheticLambda4.onActivityResult(Unknown Source:4)
at androidx.activity.result.ActivityResultRegistry.doDispatch(ActivityResultRegistry.java:392)
at androidx.activity.result.ActivityResultRegistry.dispatchResult(ActivityResultRegistry.java:351)
at androidx.activity.ComponentActivity.onActivityResult(ComponentActivity.java:647)
at androidx.fragment.app.FragmentActivity.onActivityResult(FragmentActivity.java:164)
at android.app.Activity.dispatchActivityResult(Activity.java:8393)
at android.app.ActivityThread.deliverResults(ActivityThread.java:5073)
... 12 more
Affected Android/Custom ROM version
Android 11
Affected device model
Motorola Edge 2020
Additional information
Workaround is to set the download folder in Settings before doing the download.
Checklist
Affected version
0.23.0
Steps to reproduce the bug
Use this folderExpected behavior
UI should not crash, and selected folder should be used for download
Actual behavior
UI crashes generating exception.
Screenshots/Screen recordings
No response
Logs
Search
Note to Self
You can add notes for yourself in this conversation. If your account has any linked devices, new notes will be synced.
Exception
Crash log
Affected Android/Custom ROM version
Android 11
Affected device model
Motorola Edge 2020
Additional information
Workaround is to set the download folder in Settings before doing the download.