Files app is unusable after removing a dependency to the webdav mount point?
- /e/ version: 1.10-beta
- Device model(s): FP4
- Developer mode enabled: yes
- Device rooted: yes
- Trackers blocker enabled: yes
Summary
Previously I had configured a webdav mountpoint with the nextcloud app in /e/OS File manager. The setup was automtaic when you add a cloud account in NextCloud app. But for an unknown reason the account was revoked on my device and File manager was unusable. Clearing the app storage did not fix this issue.
The problem
Steps to reproduce
Set-up a webdav mount point with an external app like nextcloud. Then remove the nextcloud account from settings accounts.
What is the current behavior?
File app is unusable.
What is the expected correct behavior?
File works as expected.
Technical informations
Relevant logs (adb logcat
)
04-03 15:46:59.472 11874 11874 D DefaultSelectionTracker: Ignoring onDataSetChange. No active selection.
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: Model update failed.
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.database.Cursor.moveToNext()' on a null object reference
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at android.os.Parcel.createExceptionOrNull(Parcel.java:2432)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at android.os.Parcel.createException(Parcel.java:2410)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at android.os.Parcel.readException(Parcel.java:2393)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at android.content.ContentProviderProxy.query(ContentProviderNative.java:481)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at android.content.ContentProviderClient.query(ContentProviderClient.java:196)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at com.android.documentsui.DirectoryLoader.queryOnUsers(DirectoryLoader.java:227)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at com.android.documentsui.DirectoryLoader.loadInBackground(DirectoryLoader.java:173)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at com.android.documentsui.DirectoryLoader.loadInBackground(DirectoryLoader.java:56)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at androidx.loader.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:289)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at androidx.loader.content.ModernAsyncTask$1.call(ModernAsyncTask.java:96)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
04-03 15:46:59.474 11874 11874 W ModelBackedDocuments: at com.android.documentsui.ProviderExecutor.run(ProviderExecutor.java:104)
04-03 15:46:59.475 11874 11874 D DefaultSelectionTracker: Ignoring onDataSetChange. No active selection.
04-03 15:47:33.013 11874 13377 I ProvidersCache: Provider returned no roots. Possibly naughty: org.nextcloud.beta.documents
04-03 15:47:33.033 11874 13376 I ProvidersCache: Provider returned no roots. Possibly naughty: foundation.e.accountmanager.webdav
Relevant screenshots
Solutions
Workaround
Login a nextcloud account again.
Possible fixes