java.lang.RuntimeException: java.lang.NoSuchMethodException: org.apache.lucene.search.MatchAllDocsQuery.getField()

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Spring JIRA by Wouter de Vaal, 1 year ago
java.lang.NoSuchMethodException: org.apache.lucene.search.MatchAllDocsQuery.getField()
via Spring JIRA by Wouter de Vaal, 1 year ago
java.lang.NoSuchMethodException: org.apache.lucene.search.MatchAllDocsQuery.getField()
java.lang.RuntimeException: java.lang.NoSuchMethodException: org.apache.lucene.search.MatchAllDocsQuery.getField()
at java.lang.Class.getMethod(Class.java:1655)
at org.neo4j.index.impl.lucene.FullTxData.getFieldViaReflection(FullTxData.java:288)
at org.neo4j.index.impl.lucene.FullTxData.getFieldViaReflection(FullTxData.java:293)
at org.neo4j.index.impl.lucene.FullTxData.extractTermField(FullTxData.java:274)
at org.neo4j.index.impl.lucene.FullTxData.injectOrphans(FullTxData.java:244)
at org.neo4j.index.impl.lucene.FullTxData.includeOrphans(FullTxData.java:223)
at org.neo4j.index.impl.lucene.FullTxData.internalQuery(FullTxData.java:200)
at org.neo4j.index.impl.lucene.FullTxData.query(FullTxData.java:185)
at org.neo4j.index.impl.lucene.ExactTxData.query(ExactTxData.java:135)
at org.neo4j.index.impl.lucene.TxDataHolder.query(TxDataHolder.java:51)
at org.neo4j.index.impl.lucene.LuceneTransaction.getRemovedIds(LuceneTransaction.java:157)
at org.neo4j.index.impl.lucene.LuceneIndex.query(LuceneIndex.java:259)
at org.neo4j.index.impl.lucene.LuceneIndex.query(LuceneIndex.java:227)
at org.neo4j.cypher.internal.spi.gdsimpl.GDSBackedQueryContext$$anon$1.indexQuery(GDSBackedQueryContext.scala:87)
at org.neo4j.cypher.internal.executionplan.builders.IndexQueryBuilder$$anonfun$getNodeGetter$2.apply(IndexQueryBuilder.scala:83)
at org.neo4j.cypher.internal.executionplan.builders.IndexQueryBuilder$$anonfun$getNodeGetter$2.apply(IndexQueryBuilder.scala:81)
at org.neo4j.cypher.internal.pipes.StartPipe$$anonfun$internalCreateResults$1.apply(StartPipe.scala:36)
at org.neo4j.cypher.internal.pipes.StartPipe$$anonfun$internalCreateResults$1.apply(StartPipe.scala:35)
at org.neo4j.cypher.internal.ClosingIterator$$anonfun$hasNext$1.apply$mcZ$sp(ClosingIterator.scala:36)
at org.neo4j.cypher.internal.ClosingIterator$$anonfun$hasNext$1.apply(ClosingIterator.scala:35)
at org.neo4j.cypher.internal.ClosingIterator$$anonfun$hasNext$1.apply(ClosingIterator.scala:35)
at org.neo4j.cypher.internal.ClosingIterator.failIfThrows(ClosingIterator.scala:86)
at org.neo4j.cypher.internal.ClosingIterator.hasNext(ClosingIterator.scala:35)
at org.neo4j.cypher.PipeExecutionResult.hasNext(PipeExecutionResult.scala:157)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:327)
at undefined.QueryTest.testQuery(QueryTest.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:195)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

Users with the same issue

1207 times, 8 months ago
23 times, 2 weeks ago
Once, 1 month ago
115 times, 1 month ago
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.