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

Share Crash TransactionTooLargeException #1160

Open
eneskarpuzoglu opened this issue Jan 17, 2024 · 2 comments
Open

Share Crash TransactionTooLargeException #1160

eneskarpuzoglu opened this issue Jan 17, 2024 · 2 comments

Comments

@eneskarpuzoglu
Copy link

eneskarpuzoglu commented Jan 17, 2024

✍️ Describe the bug

Crashes when trying to share a request with a large response

💣 Steps to reproduce

  1. Go to Chucker
  2. tap on large responsed request detail
  3. tap share icon and tap 'share as text'
  4. Crash occured

📱 Tech info

  • Emulator or other devices has same crash
    Brand:Google
    Model:Sdk_gphone64_arm64
    Orientation:Portrait
    RAM free: 391.43 MB
    Disk free: 1.96 GB
    Version:Android 13
    Orientation:Portrait
    Rooted:No
  • Chucker version: 4.0.0 and earlier

📄 Additional context

Fatal Exception: java.lang.RuntimeException: Failure from system
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1841)
at android.app.Activity.startActivityForResult(Activity.java:5471)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:754)
at android.app.Activity.startActivityForResult(Activity.java:5429)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:735)
at android.app.Activity.startActivity(Activity.java:5927)
at android.app.Activity.startActivity(Activity.java:5894)
at com.chuckerteam.chucker.internal.ui.transaction.TransactionActivity$shareTransactionAsText$1.invokeSuspend(TransactionActivity.kt:117)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:942)
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:7872)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

Caused by android.os.TransactionTooLargeException: data parcel size 1048948 bytes
at android.os.BinderProxy.transactNative(BinderProxy.java)
at android.os.BinderProxy.transact(BinderProxy.java:584)
at android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:2053)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1834)
at android.app.Activity.startActivityForResult(Activity.java:5471)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:754)
at android.app.Activity.startActivityForResult(Activity.java:5429)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:735)
at android.app.Activity.startActivity(Activity.java:5927)
at android.app.Activity.startActivity(Activity.java:5894)
at com.chuckerteam.chucker.internal.ui.transaction.TransactionActivity$shareTransactionAsText$1.invokeSuspend(TransactionActivity.kt:117)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:942)
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:7872)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

@mongkon-ttb
Copy link

Have you solved this issue ? My app also crashed with the same log (TransactionTooLargeException)

Chucker version : 3.5.2

@eneskarpuzoglu
Copy link
Author

Yes issue continuing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants