[
https://issues.apache.org/jira/browse/SOLR-5291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781475#comment-13781475
]
Robert Muir commented on SOLR-5291:
-----------------------------------
One technique I've used to hunt this kinda thing down is to temporarily "ban"
Throwable.getMessage, Throwable.toString, Throwable.getLocalizedMessage, etc
with forbidden-apis and then review all the places where it finds them in use:
This finds stuff like:
{code}
catch (FooBarException e) {
Throw new BazException("something went wrong" + e); // discarding the root
cause
}
{code}
> Solrj does not propagate the root cause to the user for many errors.
> --------------------------------------------------------------------
>
> Key: SOLR-5291
> URL: https://issues.apache.org/jira/browse/SOLR-5291
> Project: Solr
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Mark Miller
> Fix For: 5.0, 4.6
>
>
> This is a frustrating little bug because it forces you to look at the logs
> for any insight into what happened - the error message in the exception you
> get with Solrj is very generic.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]