iFixit / iFixitAndroid

Official iFixit Android App
https://play.google.com/store/apps/details?id=com.dozuki.ifixit
GNU General Public License v3.0
162 stars 88 forks source link

Fix crash when clicking comments bubble on conclusion #230

Closed timothyasp closed 10 years ago

timothyasp commented 10 years ago

Courtesy of the Play Store:

java.lang.IndexOutOfBoundsException: Invalid index 3, size is 3
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.get(ArrayList.java:308)
at com.dozuki.ifixit.model.guide.Guide.getStep(Guide.java:161)
at com.dozuki.ifixit.ui.guide.view.GuideViewActivity$1.onClick(GuideViewActivity.java:169)
at android.view.View.performClick(View.java:4438)
at android.view.View$PerformClick.run(View.java:18439)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5034)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
at dalvik.system.NativeStart.main(Native Method)
timothyasp commented 10 years ago

CR :+1:

marczych commented 10 years ago

Doesn't crash on the conclusion page anymore!

QA :speech_balloon: CR :computer: