Minoru Osuka created SOLR-9373:
----------------------------------
Summary: Add the constructor with no argument to SolrInputDocument
Key: SOLR-9373
URL: https://issues.apache.org/jira/browse/SOLR-9373
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrJ
Affects Versions: 6.1
Reporter: Minoru Osuka
I'm working on create a patch to upgrade Solr 6.0.1 for Flume.
Issue : https://issues.apache.org/jira/browse/FLUME-2919
Since Solr 6.1.0 has been released, I'm trying to create a patch to upgrade
6.1.0 again.
But, java.lang.NoSuchMethodError occurs at compile time owing to the
constructor with no argument has been removed from the SolrInputDocument by
SOLR-9065.
{noformat}
Caused by: java.lang.NoSuchMethodError:
org.apache.solr.common.SolrInputDocument: method <init>()V not found
at
org.apache.solr.handler.extraction.SolrContentHandler.<init>(SolrContentHandler.java:90)
at
org.apache.solr.morphlines.cell.TrimSolrContentHandlerFactory$TrimSolrContentHandler.<init>(TrimSolrContentHandlerFactory.java:50)
at
org.apache.solr.morphlines.cell.TrimSolrContentHandlerFactory.createSolrContentHandler(TrimSolrContentHandlerFactory.java:40)
at
org.apache.solr.morphlines.cell.SolrCellBuilder$SolrCell.doProcess(SolrCellBuilder.java:232)
at
org.kitesdk.morphline.stdio.AbstractParser.doProcess(AbstractParser.java:96)
at
org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156)
at org.kitesdk.morphline.base.Connector.process(Connector.java:64)
at
org.kitesdk.morphline.base.AbstractCommand.doProcess(AbstractCommand.java:181)
at org.kitesdk.morphline.stdlib.LogCommand.doProcess(LogCommand.java:56)
at
org.kitesdk.morphline.stdlib.LogDebugBuilder$LogDebug.doProcess(LogDebugBuilder.java:56)
at
org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156)
at
org.kitesdk.morphline.stdlib.TryRulesBuilder$TryRules.doProcess(TryRulesBuilder.java:115)
at
org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156)
at org.kitesdk.morphline.base.Connector.process(Connector.java:64)
at
org.kitesdk.morphline.base.AbstractCommand.doProcess(AbstractCommand.java:181)
at
org.kitesdk.morphline.tika.DetectMimeTypeBuilder$DetectMimeType.doProcess(DetectMimeTypeBuilder.java:166)
at
org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156)
at org.kitesdk.morphline.base.Connector.process(Connector.java:64)
at
org.kitesdk.morphline.scriptengine.java.scripts.MyJavaClass6.eval(MyJavaClass6.java:15)
... 69 more
{noformat}
It could not invoke the constructor with variable arguments using java
reflection. Please restore the no arguments constructor to SolrInputDocument.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]