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/18 09:12:13 UTC
[jira] [Created] (STANBOL-846) Avoid IllegalArgumentException when
creating SolrYard IndexValue instances by checking if parsed values are
empty Strings
Rupert Westenthaler created STANBOL-846:
-------------------------------------------
Summary: 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