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

Audio player: TransactionTooLargeException: data parcel size 1131268 bytes #4268

Open
czarnyckm opened this issue Oct 19, 2024 · 1 comment
Labels
Issue-Bug Related unexpected behavior or something worth investigating.

Comments

@czarnyckm
Copy link

czarnyckm commented Oct 19, 2024

Describe the bug
Every time when I try to play a song from huge music library with about 5000 songs the TransactionTooLargeException is thrown see below for stacktrace

To Reproduce
Steps to reproduce the behavior:

  1. Go to Audio files
  2. Click on any song to play
  3. See error

Expected behavior

Exception

  • App Name: Amaze File Utilities
  • Package: com.amaze.fileutilities
  • Version: v1.94
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 15 - 35
  • Device: cheetah
  • Model: Pixel 7 Pro
  • Product: cheetah
Crash log
java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 1131268 bytes
	at android.app.ContextImpl.startServiceCommon(ContextImpl.java:2019)
	at android.app.ContextImpl.startService(ContextImpl.java:1960)
	at android.content.ContextWrapper.startService(ContextWrapper.java:827)
	at android.content.ContextWrapper.startService(ContextWrapper.java:827)
	at com.amaze.fileutilities.utilis.f.r(Extensions.kt:6)
	at com.amaze.fileutilities.audio_player.AudioPlayerService$a.a(AudioPlayerService.kt:38)
	at com.amaze.fileutilities.home_page.ui.files.n0.invoke(MediaFileAdapter.kt:17)
	at l4.s.invokeSuspend(Extensions.kt:53)
	at q8.a.resumeWith(ContinuationImpl.kt:9)
	at g9.h0.run(DispatchedTask.kt:107)
	at android.os.Handler.handleCallback(Handler.java:959)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8736)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
	at com.android.internal.os.ExecInit.main(ExecInit.java:50)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)
	Suppressed: g9.f0: [n1{Cancelling}@94e566c, Dispatchers.Main.immediate]
Caused by: android.os.TransactionTooLargeException: data parcel size 1131268 bytes
	at android.os.BinderProxy.transactNative(Native Method)
	at android.os.BinderProxy.transact(BinderProxy.java:586)
	at android.app.IActivityManager$Stub$Proxy.startService(IActivityManager.java:6430)
	at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1991)
	... 19 more


@VishnuSanal VishnuSanal added the Issue-Bug Related unexpected behavior or something worth investigating. label Oct 20, 2024
@kernel0x
Copy link

can be fixed using a library Bundle Saver https://github.com/kernel0x/bundlesaver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Related unexpected behavior or something worth investigating.
Projects
None yet
Development

No branches or pull requests

3 participants