[
https://issues.apache.org/jira/browse/SOLR-13086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731316#comment-16731316
]
ASF subversion and git services commented on SOLR-13086:
--------------------------------------------------------
Commit 752989fd74300fb115e64732fc0ca8aac0c1c44d in lucene-solr's branch
refs/heads/master from Gus Heck
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=752989f ]
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]