kurioes / pmix

Automatically exported from code.google.com/p/pmix
0 stars 0 forks source link

PMix crashes with ArrayIndexOutOfBounds exception with extremely large library #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Index large library using mpd
2. Connect using PMix
3. Open Albums or Files option from menu

What is the expected output? What do you see instead?
Expected: list of albums or directories, respectively
Produced: PMix crashes

What version of the product are you using? On what operating system?
0.4.0-beta
0.3.0 produces similar affect but also on Artists

myTouch 3g official image (Cupcake) and CyanogenMod 4.0.2 (mostly Cupcake)

Please provide any additional information below.
library stats:
Artists:   1269
Albums:     735
Songs:     4422

running against mpd 0.15.0

stack trace:
08-23 20:55:36.387 E/AndroidRuntime( 9481): Uncaught handler: thread
MPDAsyncWorker exiting due to uncaught exception
08-23 20:55:36.397 E/AndroidRuntime( 9481):
java.lang.ArrayIndexOutOfBoundsException
08-23 20:55:36.397 E/AndroidRuntime( 9481): at
org.a0z.mpd.MPD.listAlbums(MPD.java:472)
08-23 20:55:36.397 E/AndroidRuntime( 9481): at
org.a0z.mpd.MPD.listAlbums(MPD.java:451)
08-23 20:55:36.397 E/AndroidRuntime( 9481): at
org.pmix.ui.AlbumsActivity$1.run(AlbumsActivity.java:60)
08-23 20:55:36.397 E/AndroidRuntime( 9481): at
org.pmix.ui.MPDAsyncHelper$MPDAsyncWorker.handleMessage(MPDAsyncHelper.java:281)
08-23 20:55:36.397 E/AndroidRuntime( 9481): at
android.os.Handler.dispatchMessage(Handler.java:99)
08-23 20:55:36.397 E/AndroidRuntime( 9481): at
android.os.Looper.loop(Looper.java:123)
08-23 20:55:36.397 E/AndroidRuntime( 9481): at
android.os.HandlerThread.run(HandlerThread.java:60)

Original issue reported on code.google.com by netcrush...@gmail.com on 24 Aug 2009 at 4:09

GoogleCodeExporter commented 9 years ago
Should be fixed with 0.4-beta2

Original comment by stefan.a...@gmail.com on 8 Sep 2009 at 11:21