Questions tagged [transactiontoolargeexception]

The Android exception thrown when the Binder transaction buffer is overflown, i.e. exceeds 1Mb. The tag MUST BE USED ONLY with the Android tag.

The thrown when the transaction buffer is overflown, i.e. exceeds 1Mb.

The tag MUST BE USED ONLY with the tag.

Official Documentation

TransactionTooLargeException

27 questions
0
votes
0 answers

about Activity.onSaveInstanceState toolarge the question cause by : androidx.lifecycle.BundlableSavedStateRegistry.key = 795.1 KB

I have Bussiness Activity :created 3 vm by: private val vm by viewModels() private val envCheckVM by viewModels() and xml: have four FragmentContainerView:
Len
  • 15
  • 8
0
votes
0 answers

how to tackle TransactionTooLargeException in Android applications?

one of our Android application is crashing sometimes with TransactionTooLargeException as we are putting an ArrayList of approx size 500 (Shallow Size of 85,000 / Retained size of 1,400,000). I understand that we need to use DataStore or Room DB…
0
votes
1 answer

I am getting transactionlargeexception error when sharing a photo with intent in android

This is my share code. I can share with StartActivity but the app crashes in the background. The error is here and my app crashes. Thank in advence. val bitmapUri = Uri.parse(bitmapPath) val sendIntent = Intent(Intent.ACTION_SEND) …
0
votes
1 answer

How to prevent TransactionTooLarge exception while passing data between JobIntentService to activity via Broadcast receiver

After login Page, I am downloading data from server using JobIntentService and passing the data to activity via BroadcastReceiver. For smaller amount of data it works fine but when I am working on live data it is giving below exception: Caused by:…
0
votes
0 answers

Is there any way to find exact line of TransactionToolargExcetion,

I am facing the transaction too large exception is there a way to find the exact line, like normal errors, will show null pointer exception. This issue is happening longer time I checked this thread also I dint get what I'm expecting What to do on…
Ramesh sambu
  • 3,577
  • 2
  • 24
  • 39
0
votes
1 answer

Why do I get a TransactionTooLargeException?

I am working on an Android Project but I am stuck when I need to take a picture from gallery. Indeed, when I take the first picture, everything is going well. But, if I take a second picture, the exception "TransactionTooLargeException" is thrown…
0
votes
1 answer

Can a handler with big msg.obj throw TransactionTooLargeException?

I noticed that there are a lot of exceptions reported in Google Console: java.lang.RuntimeException: at android.app.servertransaction.PendingTransactionActions$StopInfo.run (PendingTransactionActions.java:160) at…
0
votes
1 answer

Exception when starting activity android.os.TransactionTooLargeException: data parcel size

Creating intent with a large amount of data in extras public static Intent createIntent(Context context, List gallery, int indexOf) { Intent intent = new Intent(context, GalleryViewActivity.class); …
Morteza Rastgoo
  • 6,772
  • 7
  • 40
  • 61
0
votes
1 answer

Android TransactionTooLargeException when passing a Parcelable ArrayList

I'm developing an Android quiz application (I'm a beginner). So I have an Abstract class Questions and three subclasses for types of questions (multiple answers, question with image and true / false questions). I read my questions from three…
user11170181
0
votes
1 answer

The remote server returned an error: (413) Request Entity Too Large in WCF

WCF Service is returning The remote server returned an error: (413) Request Entity Too Larg but data size only 80KB i configured 2GB max size. I tried in stack overflow but still I am facing the same issue. Configuration:
0
votes
0 answers

Pass Raw Camera ByteArray With Intent

I am trying to pass the bytes array from camera picture callback using intents for further action. I have created the camera and it works fine using SurfaceView. Here's my method to pass the raw image bytes: private Camera.PictureCallback…
-1
votes
1 answer

How to get around passing data models to fragment arguments to avoid Transaction Too Large Exception?

I'm trying to fix TransactionTooLarge exceptions. I can't find any main culprits in onSaveInstanceState. However, when it comes to passing things to intents and bundles, I am seeing a lot of the follow type of code on a fragment. companion object…
1
2