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

Import/Export database crash #7783

Closed
3 of 4 tasks
ITMacch opened this issue Feb 3, 2022 · 3 comments
Closed
3 of 4 tasks

Import/Export database crash #7783

ITMacch opened this issue Feb 3, 2022 · 3 comments
Labels
bug Issue is related to a bug duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them)

Comments

@ITMacch
Copy link

ITMacch commented Feb 3, 2022

Checklist

Steps to reproduce the bug

  1. Go to 'Settings'
  2. Press on 'Content'
  3. Swipe down to 'Import database' or 'Export database'

Actual behavior

App crashes

Expected behavior

File Browser should open to select/save database

Screenshots/Screen recordings

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: DE
  • Content Language: en-DE
  • App Language: en_DE
  • Service: none
  • Version: 0.21.16
  • OS: Linux samsung/m51nseea/m51:11/RP1A.200720.012/M515FXXU3CUH2:user/release-keys 11 - 30
Crash log

android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT cat=[android.intent.category.OPENABLE] typ=application/zip flg=0x43 (has extras) }
	at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2080)
	at android.app.Instrumentation.execStartActivity(Instrumentation.java:1727)
	at android.app.Activity.startActivityForResult(Activity.java:5377)
	at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:597)
	at androidx.core.app.ActivityCompat.startActivityForResult(ActivityCompat.java:237)
	at androidx.activity.ComponentActivity$2.onLaunch(ComponentActivity.java:210)
	at androidx.activity.result.ActivityResultRegistry$2.launch(ActivityResultRegistry.java:167)
	at androidx.fragment.app.Fragment$9.launch(Fragment.java:3510)
	at androidx.activity.result.ActivityResultLauncher.launch(ActivityResultLauncher.java:47)
	at org.schabi.newpipe.settings.ContentSettingsFragment.lambda$onCreatePreferences$0(ContentSettingsFragment.java:76)
	at org.schabi.newpipe.settings.ContentSettingsFragment.$r8$lambda$IJ0-sY_2nFZ8j0D13C6AQ28cAn0(Unknown Source:0)
	at org.schabi.newpipe.settings.ContentSettingsFragment$$ExternalSyntheticLambda7.onPreferenceClick(Unknown Source:2)
	at androidx.preference.Preference.performClick(Preference.java:1184)
	at androidx.preference.Preference.performClick(Preference.java:1166)
	at androidx.preference.Preference$1.onClick(Preference.java:181)
	at android.view.View.performClick(View.java:8160)
	at android.view.View.performClickInternal(View.java:8137)
	at android.view.View.access$3700(View.java:888)
	at android.view.View$PerformClick.run(View.java:30236)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:246)
	at android.app.ActivityThread.main(ActivityThread.java:8544)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)


Device info

  • Android version/Custom ROM version: 11 - OneUI Core 3.1
  • Device model: Samsung Galaxy M51
@ITMacch ITMacch added the bug Issue is related to a bug label Feb 3, 2022
@triallax
Copy link
Contributor

triallax commented Feb 3, 2022

Do you have a file manager installed? if not, try installing one (I suggest the one I linked to below).

If you use a system file manager, I've noticed from previous reports that some of them don't seem to work properly with SAF. Can you try with https://f-droid.org/packages/me.zhanghai.android.files and see if it works?

@triallax triallax added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Feb 3, 2022
@ITMacch
Copy link
Author

ITMacch commented Feb 3, 2022

I had only the samsung file manager (my files) and also disabled with package manager 'files' (com.google.android. documentsui). I enabled it and the problem is fixed. Thx and sorry!

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Feb 3, 2022
@triallax triallax closed this as completed Feb 3, 2022
@litetex
Copy link
Member

litetex commented Feb 3, 2022

Was fixed by #7452

@litetex litetex added duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them) labels Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them)
Projects
None yet
Development

No branches or pull requests

3 participants