[ 
https://issues.apache.org/jira/browse/UIMA-5557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marshall Schor resolved UIMA-5557.
----------------------------------
    Resolution: Fixed

fixed by improving the checker for getter methods which look like feature 
getters, but whose parameters are different from the ones getters use.

> uv3: FSArray accessors seem not to be correctly generated
> ---------------------------------------------------------
>
>                 Key: UIMA-5557
>                 URL: https://issues.apache.org/jira/browse/UIMA-5557
>             Project: UIMA
>          Issue Type: Bug
>          Components: jcasgen-maven-plugin
>    Affects Versions: 3.0.0SDK-beta
>            Reporter: Richard Eckart de Castilho
>
> With the UIMAv3 jcasgen, at runtime, I am seeing messages such as
> {noformat}
> 2017-09-08 15:00:29  WARN [main] (FSClassRegistry) - CAS type system type 
> "de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Compound" defines field 
> "splits" with range "class org.apache.uima.jcas.cas.FSArray", but JCas getter 
> method is returning "interface java.util.List" which is not a subtype of the 
> declared range.
> {noformat}
> A user on the users mailing list reported a similar message when trying out 
> UIMAv3:
> {noformat}
> JCAS range type uima.cas.FSArray for feature ... does not match the CAS range 
> type uima.cas.StringArray for the feature
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to