Page 1 of 1

Subsonic crash when indexing

PostPosted: Tue Jan 18, 2011 6:21 am
by lelcuk
Subsonic crashes repeatedly when indexing
see attached log entry
subsonic v 4.3

[2011-01-18 08:11:01,640] ERROR SearchService - An error occurred while reading index entry 'F ixYxi 1289296110906 ixYxi 1289296110906 ixYxi C:\Documents and Settings\lelcuk\Desktop\Music Images\!Bootlegs\Archie Shepp Quartet - Live in Alassio '77_flac\07 - U-Jaama_Body And Soul_52nd Street Theme.flac ixYxi 188202329 ixYxi ARCHIE SHEPP QUARTET ixYxi ALASSIO, SEPTEMBER 2, 1977 ixYxi U-JAAMA [A.SHEPP]/BODY AND SOUL [E.HEYMAN]/'.
java.lang.ArrayIndexOutOfBoundsException: 8
at net.sourceforge.subsonic.service.SearchService$Line.parse(SearchService.java:689)
at net.sourceforge.subsonic.service.SearchService.getIndex(SearchService.java:549)
at net.sourceforge.subsonic.service.SearchService.doCreateIndex(SearchService.java:151)
at net.sourceforge.subsonic.service.SearchService.access$000(SearchService.java:60)
at net.sourceforge.subsonic.service.SearchService$1.run(SearchService.java:113)

[2011-01-18 08:11:01,640] ERROR SearchService - An error occurred while reading index entry '52ND STREET THEME [T.MONK] ixYxi 1977 ixYxi '.
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at net.sourceforge.subsonic.service.SearchService$Line.parse(SearchService.java:682)
at net.sourceforge.subsonic.service.SearchService.getIndex(SearchService.java:549)
at net.sourceforge.subsonic.service.SearchService.doCreateIndex(SearchService.java:151)
at net.sourceforge.subsonic.service.SearchService.access$000(SearchService.java:60)
at net.sourceforge.subsonic.service.SearchService$1.run(SearchService.java:113)

what other info is needed?

TIA
Alon

Update, did some digging
Aperently there was a cr/lf in the track tag, so.. is it a bug?

PostPosted: Tue Jan 18, 2011 1:00 pm
by stozher
Check if reindexing solved problem...

Stop server. Delete file '.../subsonic/subsonic??.index'. Start server...

PostPosted: Tue Jan 18, 2011 5:46 pm
by lelcuk
Reindexing did not solve the problem
Editing the mp3 tags and removing cr/lf did, however I think it's a bug, most other exceptions I've seen did not crash subsonic, this one did

Alon

PostPosted: Tue Jan 18, 2011 11:40 pm
by stozher
My be slash is a problematic "U-JAAMA [A.SHEPP]/BODY AND SOUL [E.HEYMAN]/"...

Remove from tag, delete subsonic12.index and check again.