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

Large number of entries (Select All) quiz issue #587

Closed
kuroi-hayabusa opened this Issue Nov 7, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@kuroi-hayabusa

kuroi-hayabusa commented Nov 7, 2015

When selecting all entries of a notepad category for a quiz, if the number is large (500), the quiz does not start. You get intead the previous app window after a few seconds.

You can argue why do we need such long quizes (rather that use the 100 option) but I find it useful for review, and in any case I think this is a bug.

Thank you!

@kuroi-hayabusa kuroi-hayabusa changed the title from Large number of entries (Select All) quizz issue to Large number of entries (Select All) quiz issue Nov 7, 2015

@mvysny

This comment has been minimized.

Show comment
Hide comment
@mvysny

mvysny Nov 28, 2015

Owner

Just to be clear - if you start the quiz via the upper-right menu "Notepad quiz" (the one which asks you to select notepad categories) this works okay?
On the other hand, if you long-touch an item in the notepad, then press "Select All" to select all 500 entries and then press "Quiz", this crashes? Is this correct?

Owner

mvysny commented Nov 28, 2015

Just to be clear - if you start the quiz via the upper-right menu "Notepad quiz" (the one which asks you to select notepad categories) this works okay?
On the other hand, if you long-touch an item in the notepad, then press "Select All" to select all 500 entries and then press "Quiz", this crashes? Is this correct?

@mvysny

This comment has been minimized.

Show comment
Hide comment
@mvysny

mvysny Nov 28, 2015

Owner

What is your setting of the quiz length? It should be 20 by default.

Owner

mvysny commented Nov 28, 2015

What is your setting of the quiz length? It should be 20 by default.

@mvysny

This comment has been minimized.

Show comment
Hide comment
@mvysny

mvysny Nov 28, 2015

Owner

The real issue here is
11-28 11:29:56.328 919-2156/? W/ActivityManager: Exception when starting activity sk.baka.aedict3/.jlptquiz.QuizActivity
android.os.TransactionTooLargeException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:496)
at android.app.ApplicationThreadProxy.scheduleLaunchActivity(ApplicationThreadNative.java:797)
at com.android.server.am.ActivityStackSupervisor.realStartActivityLocked(ActivityStackSupervisor.java:1205)
at com.android.server.am.ActivityStackSupervisor.startSpecificActivityLocked(ActivityStackSupervisor.java:1305)
at com.android.server.am.ActivityStack.resumeTopActivityInnerLocked(ActivityStack.java:1924)
at com.android.server.am.ActivityStack.resumeTopActivityLocked(ActivityStack.java:1476)
at com.android.server.am.ActivityStackSupervisor.resumeTopActivitiesLocked(ActivityStackSupervisor.java:2501)
at com.android.server.am.ActivityStack.completePauseLocked(ActivityStack.java:1010)
at com.android.server.am.ActivityStack.activityPausedLocked(ActivityStack.java:903)
at com.android.server.am.ActivityManagerService.activityPaused(ActivityManagerService.java:6463)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:514)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2301)
at android.os.Binder.execTransact(Binder.java:446)

Owner

mvysny commented Nov 28, 2015

The real issue here is
11-28 11:29:56.328 919-2156/? W/ActivityManager: Exception when starting activity sk.baka.aedict3/.jlptquiz.QuizActivity
android.os.TransactionTooLargeException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:496)
at android.app.ApplicationThreadProxy.scheduleLaunchActivity(ApplicationThreadNative.java:797)
at com.android.server.am.ActivityStackSupervisor.realStartActivityLocked(ActivityStackSupervisor.java:1205)
at com.android.server.am.ActivityStackSupervisor.startSpecificActivityLocked(ActivityStackSupervisor.java:1305)
at com.android.server.am.ActivityStack.resumeTopActivityInnerLocked(ActivityStack.java:1924)
at com.android.server.am.ActivityStack.resumeTopActivityLocked(ActivityStack.java:1476)
at com.android.server.am.ActivityStackSupervisor.resumeTopActivitiesLocked(ActivityStackSupervisor.java:2501)
at com.android.server.am.ActivityStack.completePauseLocked(ActivityStack.java:1010)
at com.android.server.am.ActivityStack.activityPausedLocked(ActivityStack.java:903)
at com.android.server.am.ActivityManagerService.activityPaused(ActivityManagerService.java:6463)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:514)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2301)
at android.os.Binder.execTransact(Binder.java:446)

@mvysny

This comment has been minimized.

Show comment
Hide comment
@mvysny

mvysny Nov 28, 2015

Owner

Fixed in 3.39.1

Owner

mvysny commented Nov 28, 2015

Fixed in 3.39.1

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