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/01/29 15:46:13 UTC
[jira] [Created] (UIMA-3591) Multi-values parameter does not accept
single value when @ConfigurationParameter is not present
Richard Eckart de Castilho created UIMA-3591:
------------------------------------------------
Summary: 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
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)