Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3591

Multi-values parameter does not accept single value when @ConfigurationParameter is not present

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0uimaFIT
    • Fix Version/s: 2.1.0uimaFIT
    • Component/s: uimaFIT
    • Labels:
      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)
      

        Attachments

          Activity

            People

            • Assignee:
              rec Richard Eckart de Castilho
              Reporter:
              rec Richard Eckart de Castilho
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: