Android Question Top error in Crashlytics console TransactionTooLargeException

SDFP Studio

Member
Licensed User
Hi,

since the beginning of my app I have this recurring error : Fatal Exception: java.lang.RuntimeException - android.os.TransactionTooLargeException

It is in the top position in my crashlytics console but I can't see where does it can come from.

As it is memory relative maybe it has something to do with that ?
I do a MediaBrowser.GetMediaAudioList and with the result I fill a list declared in starter service and a CustomListView.
Could it be a problem on devices with large media files ?

If someone could help me.
Thanks for it.
Francis

Here is the crash details:
Fatal Exception: java.lang.RuntimeException
android.os.TransactionTooLargeException: data parcel size 784828 bytes

Fatal Exception: java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 784828 bytes
       at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:160)
       at android.os.Handler.handleCallback(Handler.java:873)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:198)
       at android.app.ActivityThread.main(ActivityThread.java:6732)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Caused by android.os.TransactionTooLargeException
data parcel size 784828 bytes

Caused by android.os.TransactionTooLargeException: data parcel size 784828 bytes
       at android.os.BinderProxy.transactNative(Binder.java)
       at android.os.BinderProxy.transact(Binder.java:1129)
       at android.app.IActivityManager$Stub$Proxy.activityStopped(IActivityManager.java:3967)
       at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:144)
       at android.os.Handler.handleCallback(Handler.java:873)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:198)
       at android.app.ActivityThread.main(ActivityThread.java:6732)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Measurement Worker                            java.lang.Object.wait
ReferenceQueueDaemon                        java.lang.Object.wait
PlayBillingLibrary-4                        java.lang.Object.wait
firebase-installations-executor-14            java.lang.Object.wait
PlayBillingLibrary-3                        java.lang.Object.wait
queued-work-looper                            android.os.MessageQueue.nativePollOnce
com.google.firebase.crashlytics.startup1    java.lang.Object.wait
ExoPlayerImplInternal:Handler                android.os.MessageQueue.nativePollOnce
PlayBillingLibrary-2                        java.lang.Object.wait
awaitEvenIfOnMainThread task continuation    executor1    java.lang.Object.wait
pool-6-thread-1                                java.lang.Object.wait
ChoreographerOwner:Handler                    android.os.MessageQueue.nativePollOnce
FinalizerWatchdogDaemon                        java.lang.Object.wait
Loader:ProgressiveMediaPeriod                java.lang.Object.wait
FinalizerDaemon                                java.lang.Object.wait
Crashlytics Exception Handler1                dalvik.system.VMStack.getThreadStackTrace
GoogleApiHandler                            android.os.MessageQueue.nativePollOnce
PlayBillingLibrary-5                        java.lang.Object.wait
PlayBillingLibrary-1                        java.lang.Object.wait
firebase-installations-executor-13            java.lang.Object.wait
ExoPlayerImplInternal:Handler                android.os.MessageQueue.nativePollOnce
magnifier pixel copy result handler            android.os.MessageQueue.nativePollOnce
ScionFrontendApi                            java.lang.Object.wait
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I do a MediaBrowser.GetMediaAudioList and with the result I fill a list declared in starter service and a CustomListView.
Probably related to this. This error happens when the intent returned by another app is too large.

If it indeed comes from the library then I'm not sure that you can do anything to fix this error. You can catch it with Application_Error in the starter service.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…