Nicholas DiPiazza created SOLR-3490:
---------------------------------------
Summary: When DocumentObjectBinder encounters an invalid setter
method, it should add that to the runtimeexception message.
Key: SOLR-3490
URL: https://issues.apache.org/jira/browse/SOLR-3490
Project: Solr
Issue Type: Improvement
Affects Versions: 3.6
Environment: All
Reporter: Nicholas DiPiazza
Priority: Minor
While trying to use QueryResponse.getBeans(Class<T> type), I have an
application getting the RuntimeException: Invalid setter method. Must have one
and only one parameter.
This is from
org.apache.solr.client.solrj.beans.DocumentObjectBinder.DocField.storeType()
I was forced to get out the debugger in order to get the name of the Pojo and
the Setter it is referring to.
Please add information into the RuntimeException.
throw new RuntimeException("Invalid setter method in " + setter.getName() + "
in class " + setter.getClass().getName() + ". Setter method must have at least
one parameter.");
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]