Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeException: android.os.TransactionTooLargeException: data parcel size 836080 bytes #6740

Open
sentry-io bot opened this issue Feb 22, 2024 · 5 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 22, 2024

Sentry Issue: JETPACK-ANDROID-JN9

TransactionTooLargeException: data parcel size 836080 bytes
    at android.os.BinderProxy.transactNative(BinderProxy.java)
    at android.os.BinderProxy.transact(BinderProxy.java:538)
    at android.view.autofill.IAutoFillManager$Stub$Proxy.startSession(IAutoFillManager.java:652)
    at android.view.autofill.AutofillManager.startSessionLocked(AutofillManager.java:1750)
    at android.view.autofill.AutofillManager.notifyViewEnteredLocked(AutofillManager.java:977)
...
(23 additional frame(s) were not displayed)

RuntimeException: android.os.TransactionTooLargeException: data parcel size 836080 bytes
    at android.view.autofill.AutofillManager.startSessionLocked(AutofillManager.java:1765)
    at android.view.autofill.AutofillManager.notifyViewEnteredLocked(AutofillManager.java:977)
    at android.view.autofill.AutofillManager.notifyViewEntered(AutofillManager.java:942)
    at android.view.autofill.AutofillManager.notifyViewEntered(AutofillManager.java:899)
    at android.view.View.notifyEnterOrExitForAutoFillIfNeeded(View.java:7986)
...
(20 additional frame(s) were not displayed)
@dangermattic
Copy link

Thanks for reporting! 👍

Copy link
Author

sentry-io bot commented Feb 22, 2024

Sentry Issue: JETPACK-ANDROID-CRJ

This is a similar issue but seems to have happened on Aztec.

@thomashorta
Copy link

Based on the logs, the user was inside the EditPostActivity, which contains an EditText field that could have A LOT of content (post) and based on the stack trace, something went wrong inside an AutofillManager method. With those 2 pieces of information I was able to find this StackOverflow answer which says:

If I understand correctly, this calls the autofill service-- passing the AutofillManagerClient within the binder. And when the EditText has a lot of content, it seems to cause the TTLE.

That makes sense, so we should try to avoid this field triggering the AutofillManager by doing something suggested in the same SO answer:

A few things may mitigate it (or did as I was testing anyway): Add android:importantForAutofill="noExcludeDescendants" in the EditText's xml layout declaration. Or in code.

Copy link
Author

sentry-io bot commented Mar 14, 2024

Sentry Issue: JETPACK-ANDROID-JXA

@ravishanker
Copy link

All Editor related in Gutenberg Mobile. Transferring this to gutenberg-mobile.

@ravishanker ravishanker transferred this issue from wordpress-mobile/WordPress-Android Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants