wordpress-mobile / wordpress-mobile/WordPress-Android
TransactionTooLargeException in MediaPreviewActivity
Open
Nobody has claimed this yet.
[Pri] Medium
[Type] Crash
Media
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
This issue is a specific occurrence of https://github.com/wordpress-mobile/WordPress-Android/issues/9685 rooting from the MediaPreviewActivity
Breadcrumb
Stack trace
java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 1781496 bytes
at android.app.ActivityClient.activityStopped(ActivityClient.java:88)
at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:143)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8762)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
android.os.TransactionTooLargeException: data parcel size 1781496 bytes
at android.os.BinderProxy.transactNative(BinderProxy.java)
at android.os.BinderProxy.transact(BinderProxy.java:662)
at android.app.IActivityClientController$Stub$Proxy.activityStopped(IActivityClientController.java:1309)
at android.app.ActivityClient.activityStopped(ActivityClient.java:85)
at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:143)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8762)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Sentry Issue: WORDPRESS-ANDROID-2XAX
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the referenced issue #9685 and inspecting MediaPreviewActivity in the WordPress-Android codebase. Use the supplied stack trace and Sentry issue to understand when the transaction exceeds its limit; done means the crash is resolved for this activity and the relevant behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100