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

IndexOutOfBoundsException in SourceState.toBundle #35

Closed
eboudrant opened this issue Feb 22, 2014 · 1 comment
Closed

IndexOutOfBoundsException in SourceState.toBundle #35

eboudrant opened this issue Feb 22, 2014 · 1 comment
Labels
Milestone

Comments

@eboudrant
Copy link

While integrating Muzei to an app I had this crash, unfortunatly I don't have steps to reproduce. It happend when I was in Muzei app and I was using the next button.

ps: while updating artworks the extension can potentially change the availables custom command (I remove or add commands because we cannot disable/enable them), it is may be related ?
Thanks

E/AndroidRuntime( 8652): java.lang.IndexOutOfBoundsException: Invalid index 3, size is 3
E/AndroidRuntime( 8652):    at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
E/AndroidRuntime( 8652):    at java.util.ArrayList.get(ArrayList.java:308)
E/AndroidRuntime( 8652):    at com.google.android.apps.muzei.api.internal.SourceState.toBundle(SourceState.java:107)
E/AndroidRuntime( 8652):    at com.google.android.apps.muzei.api.MuzeiArtSource.publishCurrentState(MuzeiArtSource.java:696)
E/AndroidRuntime( 8652):    at com.google.android.apps.muzei.api.MuzeiArtSource.publishCurrentState(MuzeiArtSource.java:684)
E/AndroidRuntime( 8652):    at com.google.android.apps.muzei.api.MuzeiArtSource.access$000(MuzeiArtSource.java:190)
E/AndroidRuntime( 8652):    at com.google.android.apps.muzei.api.MuzeiArtSource$1.handleMessage(MuzeiArtSource.java:272)
E/AndroidRuntime( 8652):    at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 8652):    at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 8652):    at android.app.ActivityThread.main(ActivityThread.java:5017)
E/AndroidRuntime( 8652):    at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 8652):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
E/AndroidRuntime( 8652):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
@romannurik romannurik added the bug label Jul 9, 2014
@romannurik
Copy link
Collaborator

This should be resolved by #37

@romannurik romannurik added this to the 2.0 milestone Dec 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants