Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      ant test -Dtestcase=TestPayloadNearQuery -Dtests.method=test -Dtests.seed=24743B1132665845 -Dtests.slow=true -Dtests.locale=es_NI -Dtests.timezone=Israel -Dtests.asserts=true -Dtests.file.encoding=US-ASCII

         [junit4] Started J0 PID(19895@localhost).
         [junit4] Suite: org.apache.lucene.search.payloads.TestPayloadNearQuery
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestPayloadNearQuery -Dtests.method=test -Dtests.seed=24743B1132665845 -Dtests.slow=true -Dtests.locale=es_NI -Dtests.timezone=Israel -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
         [junit4] ERROR   0.09s | TestPayloadNearQuery.test <<<
         [junit4]    > Throwable #1: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([24743B1132665845:AC2004CB9C9A35BD]:0)
         [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:669)
         [junit4]    > 	at org.apache.lucene.search.IndexSearcher.searchAfter(IndexSearcher.java:353)
         [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:382)
         [junit4]    > 	at org.apache.lucene.search.payloads.TestPayloadNearQuery.test(TestPayloadNearQuery.java:144)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
         [junit4]    > Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
         [junit4]    > 	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
         [junit4]    > 	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
         [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:665)
         [junit4]    > 	... 39 more
         [junit4]    > Caused by: java.lang.NullPointerException
         [junit4]    > 	at org.apache.lucene.search.payloads.PayloadNearQuery$PayloadNearSpanScorer.processPayloads(PayloadNearQuery.java:202)
         [junit4]    > 	at org.apache.lucene.search.payloads.PayloadNearQuery$PayloadNearSpanScorer.setFreqCurrentDoc(PayloadNearQuery.java:223)
         [junit4]    > 	at org.apache.lucene.search.spans.SpanScorer.ensureFreq(SpanScorer.java:65)
         [junit4]    > 	at org.apache.lucene.search.spans.SpanScorer.score(SpanScorer.java:118)
         [junit4]    > 	at org.apache.lucene.search.AssertingScorer.score(AssertingScorer.java:67)
         [junit4]    > 	at org.apache.lucene.search.TopScoreDocCollector$SimpleTopScoreDocCollector$1.collect(TopScoreDocCollector.java:64)
         [junit4]    > 	at org.apache.lucene.search.AssertingLeafCollector.collect(AssertingLeafCollector.java:53)
         [junit4]    > 	at org.apache.lucene.search.AssertingCollector$1.collect(AssertingCollector.java:57)
         [junit4]    > 	at org.apache.lucene.search.AssertingLeafCollector.collect(AssertingLeafCollector.java:53)
         [junit4]    > 	at org.apache.lucene.search.Weight$DefaultBulkScorer.scoreAll(Weight.java:203)
         [junit4]    > 	at org.apache.lucene.search.Weight$DefaultBulkScorer.score(Weight.java:174)
         [junit4]    > 	at org.apache.lucene.search.BulkScorer.score(BulkScorer.java:35)
         [junit4]    > 	at org.apache.lucene.search.AssertingBulkScorer.score(AssertingBulkScorer.java:69)
         [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:714)
         [junit4]    > 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:93)
         [junit4]    > 	at org.apache.lucene.search.IndexSearcher$4.call(IndexSearcher.java:656)
         [junit4]    > 	at org.apache.lucene.search.IndexSearcher$4.call(IndexSearcher.java:653)
         [junit4]    > 	at java.util.concurrent.FutureTask.run(FutureTask.java:265)
         [junit4]    > 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
         [junit4]    > 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
         [junit4]    > 	... 1 more
         [junit4]   2> NOTE: test params are: codec=FastDecompressionCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST_DECOMPRESSION, chunkSize=25825, maxDocsPerChunk=709, blockSize=459), termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST_DECOMPRESSION, chunkSize=25825, blockSize=459)), sim=DefaultSimilarity, locale=es_NI, timezone=Israel
         [junit4]   2> NOTE: Linux 3.13.0-49-generic amd64/Oracle Corporation 1.9.0-ea (64-bit)/cpus=8,threads=1,free=199771008,total=253231104
         [junit4]   2> NOTE: All tests run in this JVM: [TestPayloadNearQuery]
         [junit4] Completed [1/1] in 0.71s, 1 test, 1 error <<< FAILURES!
      

        Attachments

          Activity

            People

            • Assignee:
              romseygeek Alan Woodward
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: