You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am getting a strange exception when trying to index some documents. The exception is as follows:
May 09, 2018 8:42:41 PM cz.muni.fi.mir.mathmlcanonicalization.modules.ElementMinimizer execute
SEVERE: error while parsing the input file.
com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:686)
at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
at cz.muni.fi.mir.mathmlcanonicalization.modules.ElementMinimizer.minimizeElements(ElementMinimizer.java:134)
at cz.muni.fi.mir.mathmlcanonicalization.modules.ElementMinimizer.execute(ElementMinimizer.java:84)
at cz.muni.fi.mir.mathmlcanonicalization.MathMLCanonicalizer.executeStreamModules(MathMLCanonicalizer.java:375)
at cz.muni.fi.mir.mathmlcanonicalization.MathMLCanonicalizer.canonicalize(MathMLCanonicalizer.java:326)
at cz.muni.fi.mias.math.MathTokenizer.parseMathML(MathTokenizer.java:304)
at cz.muni.fi.mias.math.MathTokenizer.processFormulae(MathTokenizer.java:280)
at cz.muni.fi.mias.math.MathTokenizer.reset(MathTokenizer.java:246)
at org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:613)
at org.apache.lucene.index.DefaultIndexingChain.processField(DefaultIndexingChain.java:359)
at org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:318)
at org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:241)
at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:465)
at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1526)
at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1500)
at cz.muni.fi.mias.indexing.Indexing.indexDocsThreaded(Indexing.java:145)
at cz.muni.fi.mias.indexing.Indexing.indexFiles(Indexing.java:89)
at cz.muni.fi.mias.MIaS.main(MIaS.java:39)
Hello, I am getting a strange exception when trying to index some documents. The exception is as follows:
I run a command:
java -jar MIaS-1.6.6-4.10.4-SNAPSHOT.jar -conf ~/sandbox/mias/mias.properties -overwrite ~/sandbox/mias/data/samples/sample-mathml.xhtml ~/sandbox/mias/data/samples
My setup is:
MathMLCan:
develop
branchMIaS:
master
branchMIaSMath:
master
branchThe
mias.properties
configuration is:The
sample-mathml.xhtml
file is as simple as:Is there please any help out there or any ideas what could be a problem here?
The text was updated successfully, but these errors were encountered: