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

uv3 custom JCas getters return value check should be skipped for arg lists which are not getters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0SDK-beta
    • 3.0.0SDK
    • jcasgen-maven-plugin
    • None

    Description

      With the UIMAv3 jcasgen, at runtime, I am seeing messages such as

      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.
      

      A user on the users mailing list reported a similar message when trying out UIMAv3:

      JCAS range type uima.cas.FSArray for feature ... does not match the CAS range type uima.cas.StringArray for the feature
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: