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

Exporter crashes when exporting large list of entries #523

Closed
mvysny opened this Issue Jun 17, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@mvysny
Owner

mvysny commented Jun 17, 2015

java.lang.RuntimeException: Package manager has died
at android.app.ApplicationPackageManager.queryIntentActivitiesAsUser(ApplicationPackageManager.java:608)
at android.app.ApplicationPackageManager.queryIntentActivities(ApplicationPackageManager.java:590)
at sk.baka.aedict3.util.android.Views.sendTo(Views.java:171)
at sk.baka.aedict3.util.Exporter.sendAsFlashcardEx(Exporter.java:321)
at sk.baka.aedict3.jlptquiz.QuizLaunchActivity.onOptionsItemSelected(QuizLaunchActivity.java:289)
at android.app.Activity.onMenuItemSelected(Activity.java:3024)
at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:350)
at android.support.v7.app.ActionBarActivity.onMenuItemSelected(ActionBarActivity.java:152)
at android.support.v7.app.ActionBarActivityDelegate$1.onMenuItemSelected(ActionBarActivityDelegate.java:75)
at android.support.v7.app.ActionBarActivityDelegateBase.onMenuItemSelected(ActionBarActivityDelegateBase.java:545)
at android.support.v7.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:802)
at android.support.v7.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:153)
at android.support.v7.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:949)
at android.support.v7.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:939)
at android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:596)
at android.support.v7.internal.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:145)
at android.view.View.performClick(View.java:5191)
at android.view.View$PerformClick.run(View.java:20916)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5944)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
Caused by: android.os.TransactionTooLargeException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:496)
at android.content.pm.IPackageManager$Stub$Proxy.queryIntentActivities(IPackageManager.java:2743)
at android.app.ApplicationPackageManager.queryIntentActivitiesAsUser(ApplicationPackageManager.java:598)
... 25 more

@mvysny mvysny added the bug label Jun 17, 2015

@mvysny

This comment has been minimized.

Show comment
Hide comment
@mvysny

mvysny Jun 17, 2015

Owner

Android Intent can only handle 100K of data, I have to keep that in mind.

Owner

mvysny commented Jun 17, 2015

Android Intent can only handle 100K of data, I have to keep that in mind.

@mvysny

This comment has been minimized.

Show comment
Hide comment
@mvysny

mvysny Jun 17, 2015

Owner

Added an error message in such case. Fixed in Aedict 3.26.

Owner

mvysny commented Jun 17, 2015

Added an error message in such case. Fixed in Aedict 3.26.

@mvysny mvysny closed this Jun 17, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment