google-code-export / dkpro-core-asl

Automatically exported from code.google.com/p/dkpro-core-asl
0 stars 0 forks source link

NPE when explicitly specifying a model for TreeTagger component #385

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When setting a model using PARAM_MODEL_PATH, there is an NPE exception:

Caused by: java.lang.NullPointerException
    at de.tudarmstadt.ukp.dkpro.core.treetagger.TreeTaggerPosLemmaTT4J$1.produceResource(TreeTaggerPosLemmaTT4J.java:128)
    at de.tudarmstadt.ukp.dkpro.core.treetagger.TreeTaggerPosLemmaTT4J$1.produceResource(TreeTaggerPosLemmaTT4J.java:1)
    at de.tudarmstadt.ukp.dkpro.core.api.resources.ResourceObjectProviderBase.configure(ResourceObjectProviderBase.java:428)
    at de.tudarmstadt.ukp.dkpro.core.api.resources.CasConfigurableProviderBase.configure(CasConfigurableProviderBase.java:36)
    at de.tudarmstadt.ukp.dkpro.core.api.resources.ModelProviderBase.configure(ModelProviderBase.java:49)
    at de.tudarmstadt.ukp.dkpro.core.treetagger.TreeTaggerPosLemmaTT4J.process(TreeTaggerPosLemmaTT4J.java:169)
    at org.apache.uima.analysis_component.CasAnnotator_ImplBase.process(CasAnnotator_ImplBase.java:56)
    at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:385)
    ... 30 more

Original issue reported on code.google.com by richard.eckart on 8 May 2014 at 9:03

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2463.

Original comment by richard.eckart on 8 May 2014 at 9:42