When DG is running on the attached schema XML file, when generating the movie.movie_info table it will go into an infinite loop. Sometimes it throws an exception but I have been unable to reproduce it again. Most of the time it doesn't display any errors at all.
If I get it to throw an exception I will post that as well.
121338 [main] INFO com.ibm.dg.DataGenerator - Generating data for 'movie.movie_info' table.
This table will have 1000 row(s).
Threads: 4, with around 250 row(s) per thread.
Comm. (stmts) Comm. (size) Commit Rate (stmts/s) Commit Rate (size/s)
======
4 531.0 B -1 null
4 531.0 B -1 null
4 531.0 B -1 null
4 531.0 B -1 null
4 531.0 B -1 null
4 531.0 B -1 null
4 531.0 B -1 null
4 531.0 B -1 null
^C166354 [Thread-0] WARN com.ibm.dg.DataGenerator - Shutting down.
While this was running I checked how many records were actually in the table and it was only 4, no matter how long DG was running for.
the schema file DG is trying to run on
Just found that I had copied one of the exceptions from before
Exception in thread "Thread-44" java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:778)
at java.util.LinkedList$ListItr.next(LinkedList.java:713)
at java.util.AbstractCollection.toString(AbstractCollection.java:438)
at com.ibm.dg.generators.TextGenerator.getSentence(TextGenerator.java:542)
at com.ibm.dg.generators.TextGenerator.getSentence(TextGenerator.java:444)
at com.ibm.dg.generators.TextGenerator.generate(TextGenerator.java:292)
at com.ibm.dg.DB.Field.generate(Field.java:78)
at com.ibm.dg.DB.Table.getRandomSQLValues(Table.java:487)
at com.ibm.dg.threads.TableThread.getValues(TableThread.java:304)
at com.ibm.dg.threads.TableThread.run(TableThread.java:185)
at java.lang.Thread.run(Thread.java:636)
Issue appears to be with text generator. It ran fine when I commented out those fields