Created
August 27, 2014 15:04
-
-
Save melvincabatuan/755515925e97edab1274 to your computer and use it in GitHub Desktop.
IndexOutOfBoundsException
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
08-27 23:02:53.320 16218-16218/com.cabatuan.despairsqlite E/AndroidRuntime﹕ FATAL EXCEPTION: main | |
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cabatuan.despairsqlite/com.cabatuan.despairsqlite.Main}: java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2 | |
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1967) | |
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992) | |
at android.app.ActivityThread.access$600(ActivityThread.java:127) | |
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158) | |
at android.os.Handler.dispatchMessage(Handler.java:99) | |
at android.os.Looper.loop(Looper.java:137) | |
at android.app.ActivityThread.main(ActivityThread.java:4441) | |
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:784) | |
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) | |
at dalvik.system.NativeStart.main(Native Method) | |
Caused by: java.lang.IndexOutOfBoundsException: Invalid index 2, size is 2 | |
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251) | |
at java.util.ArrayList.get(ArrayList.java:304) | |
at com.cabatuan.despairsqlite.Main.prepareListData(Main.java:143) | |
at com.cabatuan.despairsqlite.Main.onCreate(Main.java:49) | |
at android.app.Activity.performCreate(Activity.java:4465) | |
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049) | |
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931) | |
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992) | |
at android.app.ActivityThread.access$600(ActivityThread.java:127) | |
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158) | |
at android.os.Handler.dispatchMessage(Handler.java:99) | |
at android.os.Looper.loop(Looper.java:137) | |
at android.app.ActivityThread.main(ActivityThread.java:4441) | |
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:784) | |
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) | |
at dalvik.system.NativeStart.main(Native Method) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment