nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.25k stars 1.76k forks source link

App crash when attempting to open an encrypted folder #13646

Open bkilpat01 opened 3 weeks ago

bkilpat01 commented 3 weeks ago

When creating the folder, I received an error that there was a failure to upload metadata. When trying to open it, I receive the error below and the app crashes.

Cause of error

Exception in thread "Thread-12" java.lang.IllegalStateException: metadata is null!
    at com.owncloud.android.operations.RefreshFolderOperation.synchronizeData(RefreshFolderOperation.java:498)
    at com.owncloud.android.operations.RefreshFolderOperation.fetchAndSyncRemoteFolder(RefreshFolderOperation.java:418)
    at com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:247)
    at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:387)
    at java.lang.Thread.run(Thread.java:1012)

App information

Device information

Firmware

joshtrichards commented 2 weeks ago

Duplicate of #12704

joshtrichards commented 2 weeks ago

See https://github.com/nextcloud/android/issues/12704#issuecomment-2028809989 for solution

bkilpat01 commented 2 weeks ago

That solution doesn't apply to this behavior - I don't have an app called "duplicatefinder" installed. However, I just added a file through the desktop client after enabling e2ee there and was able to open the encrypted folder on my android and access the file without the app crash.

joshtrichards commented 2 weeks ago

When creating the folder, I received an error that there was a failure to upload metadata.

Any idea what the original error was? What version of Nextcloud Server + the End-to-End app are you using?