NewPipe
NewPipe copied to clipboard
Crash when exporting database
Checklist
- [X] I am able to reproduce the bug with the latest version.
- [X] I made sure that there are no existing issues - open or closed - which I could contribute my information to.
- [X] I have read the FAQ and my problem isn't listed.
- [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [X] This issue contains only one bug.
- [X] I have read and understood the contribution guidelines.
Affected version
0.25.0
Steps to reproduce the bug
- Tap Export Database
Expected behavior
No response
Actual behavior
No response
Screenshots/Screen recordings
No response
Logs
Exception
- User Action: ui error
- Request: Exporting database
- Content Country: US
- Content Language: en-US
- App Language: en_US
- Service: none
- Version: 0.25.0
- OS: Linux Android 13 - 33
Crash log
java.lang.IllegalStateException: database is not initialized
at org.schabi.newpipe.NewPipeDatabase.checkpoint(NewPipeDatabase.java:51)
at org.schabi.newpipe.settings.ContentSettingsFragment.exportDatabase(ContentSettingsFragment.java:193)
at org.schabi.newpipe.settings.ContentSettingsFragment.requestExportPathResult(ContentSettingsFragment.java:166)
at org.schabi.newpipe.settings.ContentSettingsFragment.$r8$lambda$8bBkxkdGnhK6YvPK6sE5N6ky1yA(ContentSettingsFragment.java:0)
at org.schabi.newpipe.settings.ContentSettingsFragment$$ExternalSyntheticLambda1.onActivityResult(R8$$SyntheticClass:0)
at androidx.activity.result.ActivityResultRegistry.doDispatch(ActivityResultRegistry.java:418)
at androidx.activity.result.ActivityResultRegistry.dispatchResult(ActivityResultRegistry.java:375)
at androidx.activity.ComponentActivity.onActivityResult(ComponentActivity.java:777)
at androidx.fragment.app.FragmentActivity.onActivityResult(FragmentActivity.java:140)
at android.app.Activity.dispatchActivityResult(Activity.java:8675)
at android.app.ActivityThread.deliverResults(ActivityThread.java:5323)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:5369)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:67)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
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:2308)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7879)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ExecInit.main(ExecInit.java:49)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
Affected Android/Custom ROM version
Linux Android 13 Graphene Latest
Affected device model
Pixel 4a
Additional information
No response
You may want to try uninstalling and reinstalling the app to see if that resolves the issue.
I had the same problem, clearing the app cache fixed it (not sure if it will return one day).
A user said via email:
I have the assumption that no exported backup can be exported to the same smartphones (my wife has the same) and then import the settings on the other smartphone. Then a mistake seems to happen. Maybe that will help you at Newpipe?