Last modified: 2014-10-15 09:40:03 UTC
I managed to get the app to crash by trying to load the app without a connection, turning it on and then spamming the Retry button. I haven't been able to reproduce it since, but when I do it now, I get the last updated & licensing footer at the top of the page. Copy from my ticket at https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7805837 here: ANDROID_VERSION=4.3 APP_VERSION_NAME=2.0-beta-2014-09-09 BRAND=OPPO PHONE_MODEL=X9006 CUSTOM_DATA= STACK_TRACE=java.lang.IndexOutOfBoundsException: Invalid index 2, size is 1 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at org.wikipedia.beta.page.PageViewFragment$1.run(PageViewFragment.java:277) at android.os.Handler.handleCallback(Handler.java:730) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5166) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:561) at dalvik.system.NativeStart.main(Native Method)
I was able to repro this pretty much every time. I believe this is the same as Alex was able to. Airplane mode on -> follow link to another page -> Airplane mode off -> hit the retry button like a madman, esp. before the connection comes back -> boom
Change 160604 had a related patch set uploaded by BearND: Slow down retry button https://gerrit.wikimedia.org/r/160604
Change 160604 merged by Dbrant: Slow down retry button https://gerrit.wikimedia.org/r/160604
Assuming this is fixed.
But is it really? https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=7792494 reports what appears to be the same stack trace again...
(In reply to Alex Monk from comment #5) > But is it really? > https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom; > TicketID=7792494 reports what appears to be the same stack trace again... And he's running a beta that's dated after the fix was merged. Reopening accordingly.
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7861931 as well
Change 165244 had a related patch set uploaded by Dbrant: Guard against index-out-of-bounds when loading sections. https://gerrit.wikimedia.org/r/165244
Change 165244 merged by jenkins-bot: Guard against index-out-of-bounds when loading sections. https://gerrit.wikimedia.org/r/165244
What about https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7881250 then?