nextcloud / nextcloud/android

App crashes after opening and no files is shown

Open
#14,770 0 comments 0 reactions 0 assignees View on GitHub
0. Needs triage bug
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

Open App
No files here shows
maybe related to previous refresh motion beeing registered instead of scrolling.
crashes

### Expected behaviour

Files are shown

### Actual behaviour

App crashes

### Android version

14

### Device brand and model

Samsung A54

### Stock or custom OS?

Stock

### Nextcloud android app version

30310090

### Nextcloud server version

29.0.10

### Using a reverse proxy?

No

### Android logs

### Cause of error
```java
Exception in thread "Thread-27" java.lang.RuntimeException: Accessing result data after operation failed!
at com.owncloud.android.lib.common.operations.RemoteOperationResult.getResultData(RemoteOperationResult.java:507)
at com.owncloud.android.operations.GetSharesForFileOperation.run(GetSharesForFileOperation.kt:47)
at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:193)
at com.owncloud.android.operations.RefreshFolderOperation.refreshSharesForFolder(RefreshFolderOperation.java:818)
at com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:269)
at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:387)
at java.lang.Thread.run(Thread.java:1012)

```

### App information
* ID: `com.nextcloud.client`
* Version: `30310090`
* Build flavor: `gplay`

### Device information
* Brand: `samsung`
* Device: `a54x`
* Model: `SM-A546E`
* Id: `UP1A.231005.007`
* Product: `a54xnsxx`

### Firmware
* SDK: `34`
* Release: `14`
* Incremental: `A546EXXSBCYB1`

### Server error logs

```bash

```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.