DataImportHandler does not catch and log Errors
-----------------------------------------------
Key: SOLR-864
URL: https://issues.apache.org/jira/browse/SOLR-864
Project: Solr
Issue Type: Bug
Components: contrib - DataImportHandler
Affects Versions: 1.3
Reporter: Shalin Shekhar Mangar
Assignee: Shalin Shekhar Mangar
Fix For: 1.4
DataImportHandler catches only 'Exception' types but not 'Error' sub-classes,
therefore, errors like StackOverflowError and others silently slip by and are
not logged anywhere. Even though DataImportHandler does not commit documents in
such case, in the absence of an entry in the log, it becomes very difficult to
track down the cause.
Look at http://markmail.org/message/mhqae66p262d5mcc for discussion on
solr-user.
DataImportHandler should catch Throwable and log all errors/exceptions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.