You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2013/11/06 15:56:17 UTC

[jira] [Created] (STANBOL-1206) SesameYard encounters IllegalArgumentException when no limit is specified for FieldQueries

Rupert Westenthaler created STANBOL-1206:
--------------------------------------------

             Summary: SesameYard encounters IllegalArgumentException when no limit is specified for FieldQueries
                 Key: STANBOL-1206
                 URL: https://issues.apache.org/jira/browse/STANBOL-1206
             Project: Stanbol
          Issue Type: Bug
            Reporter: Rupert Westenthaler
            Assignee: Rupert Westenthaler
             Fix For: 0.12.0


if the Limit is not defined for a FieldQuery the SesameYard throws a

java.lang.IllegalArgumentException: Illegal Capacity: -1
	at java.util.ArrayList.<init>(ArrayList.java:110)

at two possible locations. This is because it tries to set the initial capacity of the result list to the parsed limit. But the limit is set to -1 in case no limit is defined.





--
This message was sent by Atlassian JIRA
(v6.1#6144)