Closed GoogleCodeExporter closed 9 years ago
It looks like FastScroller occaisonally passes invalid values to the
SectionIndexer, and the SectionIndexer is expected to clip the input value.
Fixed.
Here's the stack trace:
12-31 10:51:18.070: E/AndroidRuntime(5407):
java.lang.ArrayIndexOutOfBoundsException: length=30; index=30
12-31 10:51:18.070: E/AndroidRuntime(5407): at
org.peterbaldwin.vlcremote.widget.DirectoryAdapter.getPositionForSection(Directo
ryAdapter.java:48)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
android.widget.FastScroller.getThumbPositionForListPosition(FastScroller.java:65
0)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
android.widget.FastScroller.onScroll(FastScroller.java:458)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
android.widget.AbsListView.invokeOnItemScrollListener(AbsListView.java:1273)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
android.widget.AbsListView.trackMotionScroll(AbsListView.java:4565)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
android.widget.AbsListView$FlingRunnable.run(AbsListView.java:3813)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
android.os.Handler.handleCallback(Handler.java:605)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
android.os.Handler.dispatchMessage(Handler.java:92)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
android.os.Looper.loop(Looper.java:137)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
android.app.ActivityThread.main(ActivityThread.java:4340)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
java.lang.reflect.Method.invokeNative(Native Method)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
java.lang.reflect.Method.invoke(Method.java:511)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
12-31 10:51:18.070: E/AndroidRuntime(5407): at
dalvik.system.NativeStart.main(Native Method)
12-31 10:51:18.101: D/dalvikvm(5407): GC_CONCURRENT freed 909K, 7% free
17075K/18183K, paused 2ms+2ms
Original comment by mr.bald...@gmail.com
on 31 Dec 2011 at 3:58
Well done! Where will be avaible an update for the app on the adroid market?
Original comment by Nicolo.d...@gmail.com
on 10 Jan 2012 at 5:17
Original issue reported on code.google.com by
Nicolo.d...@gmail.com
on 27 Dec 2011 at 5:28