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 2012/12/21 11:11:12 UTC

[jira] [Resolved] (STANBOL-846) Avoid IllegalArgumentException when creating SolrYard IndexValue instances by checking if parsed values are empty Strings

     [ https://issues.apache.org/jira/browse/STANBOL-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rupert Westenthaler resolved STANBOL-846.
-----------------------------------------

    Resolution: Fixed

fixed with http://svn.apache.org/viewvc?rev=1424837&view=rev
                
> Avoid IllegalArgumentException when creating SolrYard IndexValue instances by checking if parsed values are empty Strings
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: STANBOL-846
>                 URL: https://issues.apache.org/jira/browse/STANBOL-846
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Entityhub
>            Reporter: Rupert Westenthaler
>            Assignee: Rupert Westenthaler
>
> When storing Entities with empty values (String and References) to the SolrYard users may encounter
>     java.lang.IllegalArgumentException: The value MUST NOT be NULL nor empty!
>         at org.apache.stanbol.entityhub.yard.solr.model.IndexValue.<init>(IndexValue.java:40)
> 18:01
>         at org.apache.stanbol.entityhub.yard.solr.model.IndexValue.<init>(IndexValue.java:31)
> It would be better to rather ignore such values then to throw an exception

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira