altafrahman / clearnlp

Automatically exported from code.google.com/p/clearnlp
Other
0 stars 0 forks source link

MPAnalyzer gives null pointer exception #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run "java com.googlecode.clearnlp.run.MPAnalyze -c input\config_en_morph.xml 
-i input\morph-sample.txt" as given in the Wiki

What is the expected output? What do you see instead?
input\morph-sample.txt.morph
java.lang.NullPointerException
        at com.googlecode.clearnlp.morphology.EnglishMPAnalyzer.getException(EnglishMPAnalyzer.java:340)
        at com.googlecode.clearnlp.morphology.EnglishMPAnalyzer.getLemmaAux(EnglishMPAnalyzer.java:306)
        at com.googlecode.clearnlp.morphology.EnglishMPAnalyzer.getLemma(EnglishMPAnalyzer.java:274)
        at com.googlecode.clearnlp.morphology.AbstractMPAnalyzer.lemmatize(AbstractMPAnalyzer.java:60)
        at com.googlecode.clearnlp.run.MPAnalyze.analyze(MPAnalyze.java:87)
        at com.googlecode.clearnlp.run.MPAnalyze.<init>(MPAnalyze.java:73)
        at com.googlecode.clearnlp.run.MPAnalyze.main(MPAnalyze.java:96)

What version of the product are you using? On what operating system?
ClearNLP version 1.3.0

Please provide any additional information below.

Original issue reported on code.google.com by kaulg...@gmail.com on 22 Feb 2013 at 2:20