[
https://issues.apache.org/jira/browse/STANBOL-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dileepa Jayakody updated STANBOL-1120:
--------------------------------------
Attachment: fix.patch
The attached fix.patch resolves the failOnError issue,by defining a config
parameter failOnErrorLoadingResource in indexing.properties. By default this
value is set to false and the tool will ignore errors while processing
resources and continue without failing.
Thanks Antonio Perez, Rupert for the support in identifying a suitable solution
for the error.
Please review and apply the patch @stanbol/trunk/entityhub/indexing
> Generic Indexing Tool in EntityHub doesn't terminate properly when errors
> occur loading resource files
> --------------------------------------------------------------------------------------------------------
>
> Key: STANBOL-1120
> URL: https://issues.apache.org/jira/browse/STANBOL-1120
> Project: Stanbol
> Issue Type: Bug
> Components: Entityhub
> Reporter: Dileepa Jayakody
> Priority: Critical
> Attachments: error.log, fix.patch, steve.rdf
>
>
> I have 2 rdf files in resources/rdfdata which I want to index.
> When I run the index command a java.lang.IllegalStateException: Error occurs
> while loading file:steve.rdf and the tool hangs without terminating the
> indexing process.
> Ideally the tool should continue execution even if it finds erroneous files
> in the resources.
> Both the error.log and the steve.rdf (which is not loaded by the tool) are
> attached here.
--
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