[
https://issues.apache.org/jira/browse/SOLR-5895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944195#comment-13944195
]
ASF subversion and git services commented on SOLR-5895:
-------------------------------------------------------
Commit 1580293 from [email protected] in branch 'dev/branches/lucene_solr_4_7'
[ https://svn.apache.org/r1580293 ]
SOLR-5895: JavaBinLoader hides IOExceptions
> 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]