thtak / android-vlc-remote

Automatically exported from code.google.com/p/android-vlc-remote
GNU General Public License v3.0
0 stars 0 forks source link

crash when I flow to the bottom of the collection #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Launch android-vlc-remote
2.select collection (raccolta in italian)
3.flow down to the bottom of collection

What is the expected output? What do you see instead?
The app crash and a message "vlc remote application has locked in an unusual 
way". 

What version of VLC Remote are you using?
0.5.3

What version of VLC are you using?
1.1.111

What version of Android are you using?
4.0.3

Which Android device are you using?
Nexus S

Please provide any additional information below.
it only happens to me?

Original issue reported on code.google.com by Nicolo.d...@gmail.com on 27 Dec 2011 at 5:28

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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