Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.0uimaFIT
-
None
Description
This is not working
AnalysisEngineFactory.createEngineDescription(WhitespaceTokenizer.class, "SofaNames", SimpleParserAE.SOFA_NAME_TEXT_ONLY);
I got a ClassCastException
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.String; at org.apache.uima.annotator.WhitespaceTokenizer.initialize(WhitespaceTokenizer.java:328) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:252)