java.lang.IllegalArgumentException: Illegal Capacity: -16
at java.util.ArrayList.<init>(ArrayList.java:110) [na:1.6.0_16]
at com.mysema.query.lucene.LuceneQuery.listSorted(LuceneQuery.java:146) [querydsl-lucene-2.0.3.jar:na]
at com.mysema.query.lucene.LuceneQuery.list(LuceneQuery.java:106) [querydsl-lucene-2.0.3.jar:na]
Sorry, missed first line of stack-trace:
java.lang. IllegalArgument Exception: Illegal Capacity: -16 ArrayList. <init>( ArrayList. java:110) [na:1.6.0_16] query.lucene. LuceneQuery. listSorted( LuceneQuery. java:146) [querydsl- lucene- 2.0.3.jar: na] query.lucene. LuceneQuery. list(LuceneQuer y.java: 106) [querydsl- lucene- 2.0.3.jar: na]
at java.util.
at com.mysema.
at com.mysema.