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
Processing a plain text input file (using either html or bio as output format) fails with the following stacktrace:
java -Xmx800m -jar NerAnnotator-0.0.2-SNAPSHOT-jar-with-dependencies.jar -c text -f html -l fr -m fr=eunews.fr.crf.gz -n 1 test.txt
Container format: text
Loading language model for French fr -> eunews.fr.crf.gz
Done loading classifier
test.txt
Processing TEXT-File test.txt
Trying to process ALTO file file:/c:/ENP/test/test.txt
java.lang.NullPointerException at nl.kbresearch.europeana_newspapers.NerAnnotator.output.HtmlResultHandler.addToken(HtmlResultHandler.java:78) at nl.kbresearch.europeana_newspapers.NerAnnotator.alto.TxtProcessor.handlePotentialTextFile(TxtProcessor.java:83) at nl.kbresearch.europeana_newspapers.NerAnnotator.container.TextProcessor.processFile(TextProcessor.java:37) at nl.kbresearch.europeana_newspapers.NerAnnotator.container.ContainerHandleThread.call(ContainerHandleThread.java:40) at nl.kbresearch.europeana_newspapers.NerAnnotator.container.ContainerHandleThread.call(ContainerHandleThread.java:15) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Total processing time: 8718
0 container documents successfully processed, 1 with errors. There were errors while processing.
The text was updated successfully, but these errors were encountered:
Processing a plain text input file (using either html or bio as output format) fails with the following stacktrace:
java -Xmx800m -jar NerAnnotator-0.0.2-SNAPSHOT-jar-with-dependencies.jar -c text -f html -l fr -m fr=eunews.fr.crf.gz -n 1 test.txt
Container format: text
Loading language model for French fr -> eunews.fr.crf.gz
Done loading classifier
test.txt
Processing TEXT-File test.txt
Trying to process ALTO file file:/c:/ENP/test/test.txt
java.lang.NullPointerException at nl.kbresearch.europeana_newspapers.NerAnnotator.output.HtmlResultHandler.addToken(HtmlResultHandler.java:78) at nl.kbresearch.europeana_newspapers.NerAnnotator.alto.TxtProcessor.handlePotentialTextFile(TxtProcessor.java:83) at nl.kbresearch.europeana_newspapers.NerAnnotator.container.TextProcessor.processFile(TextProcessor.java:37) at nl.kbresearch.europeana_newspapers.NerAnnotator.container.ContainerHandleThread.call(ContainerHandleThread.java:40) at nl.kbresearch.europeana_newspapers.NerAnnotator.container.ContainerHandleThread.call(ContainerHandleThread.java:15) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Total processing time: 8718
0 container documents successfully processed, 1 with errors. There were errors while processing.
The text was updated successfully, but these errors were encountered: