java.lang.Exception: Error: cannot understand algorithm!

Apache's JIRA Issue Tracker | Shai Erera | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    line.file.out must be set

    at org.apache.lucene.benchmark.byTask.tasks.WriteLineDocTask.<init>()
  2. Lucene Benchmark
    WriteLineDocTask.<init>
    1. org.apache.lucene.benchmark.byTask.tasks.WriteLineDocTask.<init>(WriteLineDocTask.java:73)
    1 frame
  3. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  4. Lucene Benchmark
    TestPerfTasksParse.testAllTasksSimpleParse
    1. org.apache.lucene.benchmark.byTask.utils.Algorithm.<init>(Algorithm.java:69)
    2. org.apache.lucene.benchmark.byTask.Benchmark.<init>(Benchmark.java:61)
    3. org.apache.lucene.benchmark.byTask.TestPerfTasksParse.doTestAllTasksSimpleParse(TestPerfTasksParse.java:171)
    4. org.apache.lucene.benchmark.byTask.TestPerfTasksParse.testAllTasksSimpleParse(TestPerfTasksParse.java:140)
    4 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  6. JUnit
    JUnit4TestAdapter.run
    1. junit.framework.TestCase.runTest(TestCase.java:164)
    2. junit.framework.TestCase.runBare(TestCase.java:130)
    3. junit.framework.TestResult$1.protect(TestResult.java:106)
    4. junit.framework.TestResult.runProtected(TestResult.java:124)
    5. junit.framework.TestResult.run(TestResult.java:109)
    6. junit.framework.TestCase.run(TestCase.java:120)
    7. junit.framework.TestSuite.runTest(TestSuite.java:230)
    8. junit.framework.TestSuite.run(TestSuite.java:225)
    9. org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
    10. junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
    10 frames
  7. Apache Ant + JUnit
    JUnitTestRunner.main
    1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
    2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
    3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
    3 frames