What steps will reproduce the problem?
I was testing the similarity score for two different texts.
1. I created a few analysis components including a dummy JCas and some analysis
engines. One of which uses the textSimilarityResourceBase.
2. I ran them in a SimplePipeline.
3. Get errors.
What is the expected output? What do you see instead?
I expect to see some similarity scores but instead I saw:
Exception in thread "main"
org.apache.uima.resource.ResourceInitializationException: Initialization of
annotator class
"de.tudarmstadt.ukp.dkpro.tc.experiments.stackexchange.annotator.SimilarityTagge
r" failed. (Descriptor: <unknown>)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:254)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:158)
at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:269)
at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:387)
at org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:255)
at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:429)
at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:373)
at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:186)
at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:269)
at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:314)
at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:425)
at org.apache.uima.fit.factory.AnalysisEngineFactory.createEngine(AnalysisEngineFactory.java:204)
at de.tudarmstadt.ukp.dkpro.tc.experiments.stackexchange.io.Pipeline.main(Pipeline.java:98)
Caused by: java.lang.NullPointerException
at de.tudarmstadt.ukp.dkpro.tc.experiments.stackexchange.annotator.SimilarityTagger.initialize(SimilarityTagger.java:40)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:252)
... 16 more
What version of the product are you using? On what operating system?
de.tudarmstadt.ukp.similarity.dkpro.core-asl 2.0.0-snapshot on windows 8
Please provide any additional information below.
I'm a TUD student who's working currently on my master thesis featuring text
classification at ukp. Please help me ASAP, Thank you.
Original issue reported on code.google.com by wilhelm....@gmail.com on 11 Oct 2013 at 8:49
Original issue reported on code.google.com by
wilhelm....@gmail.com
on 11 Oct 2013 at 8:49Attachments: