YAMJ / yamj-v2

Yet Another Movie Jukebox (YAMJ) v2
GNU General Public License v3.0
28 stars 11 forks source link

Java error with r3327 (since r3326) #2538

Closed Omertron closed 9 years ago

Omertron commented 9 years ago

Original issue 2539 created by Omertron on 2012-12-11T19:26:43.000Z:

What steps will reproduce the problem?

1.run yamj with small library and empty jukebox 2.Yamj is broken before the end 3.the jukebox is empty

PS : It is not a pb. I can downgrade Yamj to r3325 But This issue is for your information :-)

I have this:

Error Failed to create output file file:/C:/YAMJ/temp/Jukebox/Cast_Mia%20Wasikowska% 09_1.xml: La syntaxe du nom de fichier, de rÚpertoire ou de volume est incorrecte DOMHelper: Error writing the document to C:\YAMJ\temp\Jukebox\Cast_Mia Wasikowsk a _1.xml DOMHelper: Message: Failed to create output file file:/C:/YAMJ/temp/Jukebox/Cast _Mia%20Wasikowska%09_1.xml Indexing Person (10/11) contains 421 indexes Indexing Set (11/11) contains 3 indexes Writing Category XML... Indexing Categories... Exception in thread "main" java.lang.IllegalArgumentException: JukeboxStatistic index_Country does not exist. at com.moviejukebox.model.JukeboxStatistic.fromString(JukeboxStatistic.j ava:92) at com.moviejukebox.writer.MovieJukeboxXMLWriter.processCategoryIndex(Mo vieJukeboxXMLWriter.java:360) at com.moviejukebox.writer.MovieJukeboxXMLWriter.writeCategoryXML(MovieJ ukeboxXMLWriter.java:288) at com.moviejukebox.MovieJukebox.generateLibrary(MovieJukebox.java:1435)

    at com.moviejukebox.MovieJukebox.main(MovieJukebox.java:393)

Caused by: java.lang.IllegalArgumentException: No enum constant com.moviejukebox .model.JukeboxStatistic.INDEX_COUNTRY at java.lang.Enum.valueOf(Unknown Source) at com.moviejukebox.model.JukeboxStatistic.valueOf(JukeboxStatistic.java :24) at com.moviejukebox.model.JukeboxStatistic.fromString(JukeboxStatistic.j ava:90) ... 4 more

Yamj + eversion r0179 + evZap 1.2.1 + Mod People 5.3 Fr Windows 8 x64 Java Version: 1.7.0_09

I will make a test with last Java Version: 1.6.x

Omertron commented 9 years ago

Comment #1 originally posted by Omertron on 2012-12-11T21:21:56.000Z:

This issue was closed by revision r3328.

Omertron commented 9 years ago

Comment #2 originally posted by Omertron on 2012-12-12T00:19:11.000Z:

Sorry but I have the same issue with Index_Cast

I don't now if it is what you want but in your file jukeboxstatistic.java some other index not appear: Index_Director, Index_Writer ...

Omertron commented 9 years ago

Comment #3 originally posted by Omertron on 2012-12-12T06:45:43.000Z:

This issue was closed by revision r3329.

Omertron commented 9 years ago

Comment #4 originally posted by Omertron on 2012-12-12T08:23:56.000Z:

Sorry about that, should be fixed now

Omertron commented 9 years ago

Comment #5 originally posted by Omertron on 2012-12-12T10:34:14.000Z:

sorry again :-) but I have this issue with Index_Director.

Exception in thread "main" java.lang.IllegalArgumentException: JukeboxStatistic index_Director does not exist. at com.moviejukebox.model.JukeboxStatistic.fromString(JukeboxStatistic.j ava:101) at com.moviejukebox.writer.MovieJukeboxXMLWriter.processCategoryIndex(Mo vieJukeboxXMLWriter.java:360) at com.moviejukebox.writer.MovieJukeboxXMLWriter.writeCategoryXML(MovieJ ukeboxXMLWriter.java:288) at com.moviejukebox.MovieJukebox.generateLibrary(MovieJukebox.java:1435)

    at com.moviejukebox.MovieJukebox.main(MovieJukebox.java:393)

Caused by: java.lang.IllegalArgumentException: No enum constant com.moviejukebox .model.JukeboxStatistic.INDEX_DIRECTOR at java.lang.Enum.valueOf(Unknown Source) at com.moviejukebox.model.JukeboxStatistic.valueOf(JukeboxStatistic.java :25) at com.moviejukebox.model.JukeboxStatistic.fromString(JukeboxStatistic.j ava:99) ... 4 more

Omertron commented 9 years ago

Comment #6 originally posted by Omertron on 2012-12-12T11:35:46.000Z:

This issue was updated by revision r3330.

Added Cast, Director, Writer, Award, Person and Ratings.

Omertron commented 9 years ago

Comment #7 originally posted by Omertron on 2012-12-12T11:38:31.000Z:

Ok, that really should be them all :)

Omertron commented 9 years ago

Comment #8 originally posted by Omertron on 2012-12-12T12:50:03.000Z:

all is fine now. thank you. ;)