[
https://issues.apache.org/jira/browse/SOLR-9231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Drob updated SOLR-9231:
----------------------------
Fix Version/s: (was: 9.0)
(was: 8.11.2)
> SolrInputDocument no-args constructor removed without notice
> ------------------------------------------------------------
>
> Key: SOLR-9231
> URL: https://issues.apache.org/jira/browse/SOLR-9231
> Project: Solr
> Issue Type: Bug
> Components: SolrJ
> Affects Versions: 6.1
> Environment: Lucee (or ColdFusion) loading SolrJ using separate
> URLClassLoader instance)
> Reporter: Tim Parker
> Assignee: Anshum Gupta
> Priority: Major
>
> In 6.0.1 and previous, SolrInputDocument provided two constructors - one with
> no arguments, the other accepting a Map object. As of 6.1.0, the
> no-arguments constructor is replaced with one that accepts zero or more
> strings.
> With 6.0.1, this worked:
> cls = LoadClass("org.apache.solr.common.SolrInputDocument");
> Constructor foo = cls.getConstructor();
> This fails with Solr 6.1.0
> We get the same error after updating the code to this:
> cls = LoadClass("org.apache.solr.common.SolrInputDocument");
> Class[] argArray = new Class[0];
> Constructor foo = cls.getConstructor(argArray);
> Are we missing something? If not, please restore the missing no-arguments
> constructor.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]