question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clicking the hamburger icon at the top causes the app to crash

See original GitHub issue

This happens on Nexus 5X with Android 7.1. Please tell me how can I help if I have to debug something!

Here is the crash

EDIT: Wow, you guys pass the whole book as a serializable to the next screen everywhere, why not just work with the filePath and read it everywhere you need it? I will surely check this out.

01-26 23:06:10.507 26802-26802/info.chitanka.android E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 1856584)
01-26 23:06:10.507 26802-26802/info.chitanka.android D/AndroidRuntime: Shutting down VM
01-26 23:06:10.511 26802-26802/info.chitanka.android E/AndroidRuntime: FATAL EXCEPTION: main
Process: info.chitanka.android, PID: 26802
java.lang.RuntimeException: Failure from system
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1525)
at android.app.Activity.startActivityForResult(Activity.java:4225)
at android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:50)
at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:79)
at android.app.Activity.startActivityForResult(Activity.java:4183)
at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:859)
at com.folioreader.activity.FolioActivity$2.onClick(FolioActivity.java:150)
at android.view.View.performClick(View.java:5637)
at android.view.View$PerformClick.run(View.java:22429)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Caused by: android.os.TransactionTooLargeException: data parcel size 1856584 bytes
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:615)
at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:3100)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1518)
at android.app.Activity.startActivityForResult(Activity.java:4225)
at android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:50)
at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:79)
at android.app.Activity.startActivityForResult(Activity.java:4183)
at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:859)
at com.folioreader.activity.FolioActivity$2.onClick(FolioActivity.java:150)
at android.view.View.performClick(View.java:5637)
at android.view.View$PerformClick.run(View.java:22429)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
n0m0r3pa1ncommented, Jan 26, 2017

I will review the lib and make PR probably. It has a good look and feel and some good options so it is worth trying. The problem is that they pass the whole Book object to every screen as a serializable which is huge. Also the lib crashes when rotating the phone …

0reactions
KishanViramgamacommented, Jan 28, 2021

Same error in 0.5.4 version

Read more comments on GitHub >

github_iconTop Results From Across the Web

Clicking toolbar navigation icon crashes the app
It will end up in ToolbarWidgetWrapper, where it will be used when you click the navigation menu. You can use any CharSequence (e.g. ......
Read more >
Unable to click on More hamburger icon on YouTube app ...
Anyone experiencing crashes with the app? 328.
Read more >
Why Do My Apps Keep Closing? How to Troubleshoot
If an app keeps closing on your mobile device, there are several ways to troubleshoot the problem and prevent it from happening.
Read more >
Right-click causes application crash - Apple StackExchange
After looking in /Library/Contextual Menu Items/ I noticed that even after uninstalling the app which I suspected was causing the problem, ...
Read more >
App Store crashes when attempting - Apple Developer
Replies · Launch appstore · Click as fast as you can on an element of the tab bar (except the updates one) ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found