You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2014/02/17 16:56:24 UTC
[jira] [Assigned] (UIMA-3591) Multi-values parameter does not
accept single value when @ConfigurationParameter is not present
[ https://issues.apache.org/jira/browse/UIMA-3591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Eckart de Castilho reassigned UIMA-3591:
------------------------------------------------
Assignee: Richard Eckart de Castilho
> 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
>
> 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)