nextcloud / nextcloud/android

unresponsive, then crash: android.os.TransactionTooLargeException

Open
#9,621 2 comments 0 reactions 0 assignees View on GitHub
bug performance: TTLE stable-3.18
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

The android app freezes when opening, after drawing the updating-circle thing. It then adds a large chunk of base64 encoded html data at the top of the file list.

The app remains unresponsive and after a bit I get a crash message and invited to report it here.

### Steps to reproduce
1. Have a nextcloud instance (Ubuntu snap, so up to date)
2. Open the nextcloud app for the first time in a long time

### Expected behaviour
Not doing the below would be nice :)

### Actual behaviour

The app freezes, shows a base64 encoded chunk of html data at the top of the file list, then crashes.

### Can you reproduce this problem on https://try.nextcloud.com?

Not applicable or doable as the app crashes on start.

### Environment data
Android version: 12

Device model: pixel 5

Stock or customized system: stock (YouTube Vanced is installed)

Nextcloud app version: 3.18.1

Nextcloud server version: 22.3.3snap2 (Ubuntu snap install)

Reverse proxy: nginx

### Logs
#### Web server error log

I'm on my phone. From what I can see there is only a billion lines of the following spammed in the log:

```
Debug files_sha... /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead
```

#### Nextcloud log (data/nextcloud.log)
************ CAUSE OF ERROR ************
```java
java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 826940 bytes
at android.app.ActivityClient.activityStopped(ActivityClient.java:86)
at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:143)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Caused by: android.os.TransactionTooLargeException: data parcel size 826940 bytes
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(BinderProxy.java:571)
at android.app.IActivityClientController$Stub$Proxy.activityStopped(IActivityClientController.java:1297)
at android.app.ActivityClient.activityStopped(ActivityClient.java:83)
... 9 more
```
************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30180190
Build flavor: gplay

************ DEVICE INFORMATION ************
Brand: google
Device: redfin
Model: Pixel 5
Id: SQ1A.211205.008
Product: redfin

************ FIRMWARE ************
SDK: 31
Release: 12
Incremental: 7888514

**NOTE:** Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

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.