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 16:38:17 UTC
[jira] [Resolved] (STANBOL-1206) SesameYard encounters
IllegalArgumentException when no limit is specified for FieldQueries
[ https://issues.apache.org/jira/browse/STANBOL-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rupert Westenthaler resolved STANBOL-1206.
------------------------------------------
Resolution: Fixed
fixed with http://svn.apache.org/r1539369 in both trunk and the 0.12.0 releasing branch
> 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)