+ Add Question

Bug: Crash on orientation change

PT

This doesn't happen consistently but I didn't the following earlier and it crashed..

I was on the filters looking at all tasks.
I had something selected and I moved my hand which triggered an orientation change to landscape and the app crashed.

It only happened once but if i can find any other steps to replicate reliably I will post.

All responses

PT
Paul Teale
Replied on Aug 23, 2013 - 11:24 UTC

I was able to grab a little but of a stack trace that indicates the exception thrown but its hard to pin point because the app is obfuscated but it may help track the bug..

08-23 12:10:19.626: ERROR/AndroidRuntime(16588): FATAL EXCEPTION: main
java.lang.IndexOutOfBoundsException: Invalid index 9, size is 9
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251)
at java.util.ArrayList.get(ArrayList.java:304)
at com.todoist.obj.a.d.a(SourceFile:555)
at com.todoist.home.content.a.g.a(SourceFile:900)
at com.todoist.home.content.a.d.a(SourceFile:782)
at com.b.a.a.d.c(SourceFile:1496)
at com.b.a.a.d.l(SourceFile:62)
at com.b.a.a.k.b(SourceFile:1290)
at com.b.a.a.s.run(SourceFile:1189)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5328)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(Zygote

Brendon Wadey staff
Replied on Aug 23, 2013 - 13:31 UTC

Hi Paul,

Which version of Android are you running, any custom ROMs? Please try clearing the data for the app and let me know if it happens again. If you can, let me know exactly how it happens, if it was the orientation change, or maybe something else.

Thanks,
Brendon.

PT
Paul Teale
Replied on Aug 23, 2013 - 13:33 UTC

Galaxy S4 Android 4.2.2 no custom rom

Haven't seen the issue since but will try to find steps to reproduce.