[
https://issues.apache.org/jira/browse/SOLR-5895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar resolved SOLR-5895.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 4.7.1
5.0
Thanks Mike!
> JavaBinLoader hides IOExceptions
> --------------------------------
>
> Key: SOLR-5895
> URL: https://issues.apache.org/jira/browse/SOLR-5895
> Project: Solr
> Issue Type: Bug
> Reporter: Mike Sokolov
> Assignee: Shalin Shekhar Mangar
> Fix For: 5.0, 4.7.1
>
>
> An IOException raised during analysis is swallowed by JavabinLoader, so the
> underlying cause is not visible in the logs, or to the client. Proposed fix
> is to change
> {code}
> throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "ERROR adding
> document " + document);
> {code}
> to
> {code}
> throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "ERROR adding
> document " + document, e);
> {code}
> on line 99 in JavaBinLoader.java
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]