Another ArrayIndexOutOfBoundsException in ListView
- by synic
This one is different than the other one I posted. Any ideas?
java.lang.IndexOutOfBoundsException:
Invalid location 14, size is 1
at java.util.ArrayList.get(ArrayList.java:341)
at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:188)
at android.widget.AbsListView.obtainView(AbsListView.java:1256)
at android.widget.ListView.makeAndAddView(ListView.java:1668)
at android.widget.ListView.fillUp(ListView.java:667)
at android.widget.ListView.fillGap(ListView.java:613)
at android.widget.AbsListView.trackMotionScroll(AbsListView.java:2531)
at android.widget.AbsListView$FlingRunnable.run(AbsListView.java:2353)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4595)
at java.lang.reflect.Method.invokeNative(Native
Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
at dalvik.system.NativeStart.main(Native
Method)