You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gus Heck (JIRA)" <ji...@apache.org> on 2018/12/20 21:39:00 UTC

[jira] [Created] (SOLR-13086) Unhelpful exception message can be improved

Gus Heck created SOLR-13086:
-------------------------------

             Summary: 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


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