[ https://issues.apache.org/jira/browse/UIMA-3591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907389#comment-13907389 ]
Marshall Schor commented on UIMA-3591: -------------------------------------- I was actually thinking that there was *no dependency* created, because you're just adding an "@" style annotation. I thought that would not affect the non-uimaFIT usage? > Multi-values parameter does not accept single value when > @ConfigurationParameter is not present > ----------------------------------------------------------------------------------------------- > > Key: UIMA-3591 > URL: https://issues.apache.org/jira/browse/UIMA-3591 > Project: UIMA > Issue Type: Bug > Components: uimaFIT > Affects Versions: 2.0.0uimaFIT > Reporter: Richard Eckart de Castilho > Assignee: Richard Eckart de Castilho > Priority: Minor > Fix For: 2.0.1uimaFIT > > > This is not working > {noformat} > AnalysisEngineFactory.createEngineDescription(WhitespaceTokenizer.class, > "SofaNames", SimpleParserAE.SOFA_NAME_TEXT_ONLY); > {noformat} > I got a ClassCastException > {noformat} > 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) > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)