[ 
https://issues.apache.org/jira/browse/LUCENE-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509473
 ] 

Michael McCandless commented on LUCENE-848:
-------------------------------------------

I think somehow the wrong version (1.4.4) of Xerces was committed and
named as lib/xerces-2.9.0.jar.

I'm hitting what I think is the same issue Steven is referring to
above (https://issues.apache.org/jira/browse/LUCENE-848#action_1248988),
this exception after ~350K docs:

Exception in thread "main" java.lang.RuntimeException: 
java.lang.RuntimeException: Internal Error: fPreviousChunk == NULL
        at 
org.apache.lucene.benchmark.utils.ExtractWikipedia.extract(ExtractWikipedia.java:184)
        at 
org.apache.lucene.benchmark.utils.ExtractWikipedia.main(ExtractWikipedia.java:199)
Caused by: java.lang.RuntimeException: Internal Error: fPreviousChunk == NULL
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)
        at 
org.apache.lucene.benchmark.utils.ExtractWikipedia.extract(ExtractWikipedia.java:181)
        ... 1 more

I downloaded 1.4.4 of xerces.jar and "cmp" says it's the same file
that's now checked in as lib/xerces-2.9.0.jar.  When I download xerces
2.9.0 myself and overwrite this one in lib, the extraction finishes
without errors.


> Add supported for Wikipedia English as a corpus in the benchmarker stuff
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-848
>                 URL: https://issues.apache.org/jira/browse/LUCENE-848
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/benchmark
>            Reporter: Steven Parkes
>            Assignee: Grant Ingersoll
>            Priority: Minor
>         Attachments: LUCENE-848-build.patch, LUCENE-848.txt, LUCENE-848.txt, 
> LUCENE-848.txt, LUCENE-848.txt, LUCENE-848.txt, LUCENE-848.txt, 
> LUCENE-848.txt, WikipediaHarvester.java, xerces.jar, xerces.jar, xml-apis.jar
>
>
> Add support for using Wikipedia for benchmarking.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to