Skip to content

App crashes when opening folder after resetting encryption and re-encrypting (metadata is null exception) #15404

@mybigfriendjo

Description

@mybigfriendjo

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Reset encryption in web app
  2. open android app
  3. set folder as encrypted
  4. confirm mnemonics
  5. tap/open encrypted folder
  6. crash

Expected behaviour

Everything up to point 5
Actually opening showing the encrypted folder

Actual behaviour

App crashes

Android version

16

Device brand and model

Pixel 8 Pro

Stock or custom OS?

Stock

Nextcloud android app version

3.32.2

Nextcloud server version

30.0.12 (hetzner saas)

Using a reverse proxy?

I don't know

Android logs

Cause of error

Exception in thread "Thread-31" java.lang.IllegalStateException: metadata is null!
    at com.owncloud.android.operations.RefreshFolderOperation.synchronizeData(RefreshFolderOperation.java:513)
    at com.owncloud.android.operations.RefreshFolderOperation.fetchAndSyncRemoteFolder(RefreshFolderOperation.java:433)
    at com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:246)
    at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:387)
    at java.lang.Thread.run(Thread.java:1119)

App information

  • ID: com.nextcloud.client
  • Version: 30320290
  • Build flavor: gplay

Device information

  • Brand: google
  • Device: husky
  • Model: Pixel 8 Pro
  • Id: BP2A.250805.005
  • Product: husky

Firmware

  • SDK: 36
  • Release: 16
  • Incremental: 13691446

Server error logs

Additional information

I'm not on a preview version or anything so I don't know where the logs are.
I'm using hetzner as host.

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions