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

ASF subversion and git services commented on SOLR-13086:
--------------------------------------------------------

Commit 2ccb505912f5ee1818112e27518154b606b7512e in lucene-solr's branch 
refs/heads/branch_7x from Gus Heck
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2ccb505 ]

SOLR-13086 improve error message in DocumentObjectBinder


> 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]

Reply via email to