[ 
https://issues.apache.org/jira/browse/SOLR-13086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16730398#comment-16730398
 ] 

Christine Poerschke commented on SOLR-13086:
--------------------------------------------

Looking at the latest patch, it seems that there are (in the message) two 
spaces after but no space before the {{setter}} itself, that may or may not 
have been your intention (and would definitely still be more helpful than not 
mentioning the setter at all as is the case currently). Thanks for noticing and 
fixing this issue.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to