[
https://issues.apache.org/jira/browse/SOLR-13086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16730440#comment-16730440
]
Gus Heck commented on SOLR-13086:
---------------------------------
Ah had meant to put this in and didn't get back to it. Thx for the micro review
;) and reminder. I tend not to put in a space if I have a separator such as a
colon (or if I surround in parenthesis/brackets). Legacy of too many hours
tracking down a leading space that was right there in front of me (zero vs 1 is
easy to spot, 1 vs 2 harder). The extra space after however is inadvertent.
> Unhelpful exception message can be improved
> -------------------------------------------
>
> Key: SOLR-13086
> URL: https://issues.apache.org/jira/browse/SOLR-13086
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrJ
> Reporter: Gus Heck
> Assignee: Gus Heck
> Priority: Trivial
> Attachments: SOLR-13086.patch, SOLR-13086.patch
>
>
> Hit this exception today. It's really really unhelpful...
> {code:java}
> Caused by: org.apache.solr.client.solrj.beans.BindingException: Invalid
> setter method. Must have one and only one parameter
> at
> org.apache.solr.client.solrj.beans.DocumentObjectBinder$DocField.storeType(DocumentObjectBinder.java:235){code}
> Great... *which* of the many fields on the bean (and which bean!?!?) has an
> issue... (sigh)
> Attaching trivial patch to make this far more helpful momentarily
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]