[ 
https://issues.apache.org/jira/browse/LUCENE-7326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless resolved LUCENE-7326.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 6.2
                   master (7.0)

> TestSimpleTextPostingsFormat.testInvertedWrite() failure: An SPI class of 
> type PostingsFormat with name 'SimpleText' does not exist
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-7326
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7326
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Steve Rowe
>             Fix For: master (7.0), 6.2
>
>
> My Jenkins found a master seed that reproduces on branch_6x but not on 
> branch_6_1:
> {noformat}
> Checking out Revision 963206969eddca6ec743f5f0901e0abdfeacd3cc 
> (refs/remotes/origin/master)
> [...]
>   2> NOTE: reproduce with: ant test  -Dtestcase=TestSimpleTextPostingsFormat 
> -Dtests.method=testInvertedWrite -Dtests.seed=7555A4CF724BDB74 
> -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true 
> -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt 
> -Dtests.locale=es -Dtests.timezone=Australia/Brisbane -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> [23:09:22.113] ERROR   0.23s J3 | 
> TestSimpleTextPostingsFormat.testInvertedWrite <<<
>    > Throwable #1: java.lang.IllegalArgumentException: An SPI class of type 
> org.apache.lucene.codecs.PostingsFormat with name 'SimpleText' does not 
> exist.  You need to add the corresponding JAR file supporting this SPI to 
> your classpath.  The current classpath supports the following names: 
> [MockRandom, RAMOnly, LuceneFixedGap, LuceneVarGapFixedInterval, 
> LuceneVarGapDocFreqInterval, TestBloomFilteredLucenePostings, Asserting, 
> BlockTreeOrds, BloomFilter, Direct, FSTOrd50, FST50, Memory, AutoPrefix, 
> Lucene50]
>    >    at 
> __randomizedtesting.SeedInfo.seed([7555A4CF724BDB74:6C21E9040C1050A8]:0)
>    >    at 
> org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:116)
>    >    at 
> org.apache.lucene.codecs.PostingsFormat.forName(PostingsFormat.java:112)
>    >    at 
> org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.<init>(PerFieldPostingsFormat.java:258)
>    >    at 
> org.apache.lucene.codecs.perfield.PerFieldPostingsFormat.fieldsProducer(PerFieldPostingsFormat.java:341)
>    >    at 
> org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:106)
>    >    at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:67)
>    >    at 
> org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:61)
>    >    at 
> org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:53)
>    >    at 
> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:675)
>    >    at 
> org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:76)
>    >    at 
> org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:63)
>    >    at 
> org.apache.lucene.index.RandomIndexWriter.getReader(RandomIndexWriter.java:383)
>    >    at 
> org.apache.lucene.index.RandomIndexWriter.getReader(RandomIndexWriter.java:313)
>    >    at 
> org.apache.lucene.index.BasePostingsFormatTestCase.testInvertedWrite(BasePostingsFormatTestCase.java:519)
> [...]
>   2> NOTE: test params are: codec=Asserting(Lucene62): {}, docValues:{}, 
> maxPointsInLeafNode=1657, maxMBSortInHeap=5.09627287608914, 
> sim=RandomSimilarity(queryNorm=true,coord=crazy): {f_DOCS_AND_FREQS=DFR 
> I(ne)Z(0.3), field=DFR I(ne)L3(800.0), 
> f_DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS=DFI(Saturated), 
> f_DOCS_AND_FREQS_AND_POSITIONS=IB SPL-L1, titleTokenized=IB LL-L3(800.0), 
> body=DFR I(F)L1, f_DOCS=DFR I(n)L2}, locale=es, timezone=Australia/Brisbane
>   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77 
> (64-bit)/cpus=16,threads=1,free=257107688,total=486539264
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to