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

AnnotationBase.getSofa() implementation has "uima.tcas.Annotation" in exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.4.1SDK
    • None
    • None

    Description

      The getSofa method is thus defined:

        public SofaFS getSofa() {
          if (AnnotationBase_Type.featOkTst && ((AnnotationBase_Type) jcasType).casFeat_sofa == null)
            this.jcasType.jcas.throwFeatMissing("sofa", "uima.tcas.Annotation");
          return (SofaFS) jcasType.ll_cas.ll_getFSForRef(
                  jcasType.ll_cas.ll_getRefValue(addr, ((AnnotationBase_Type)jcasType).casFeatCode_sofa));
        }
      

      It seems the missing feature exception should have "uima.tcas.AnnotationBase". If this is correct then a comment might be warranted.

      Attachments

        Activity

          People

            schor Marshall Schor
            barborak Mike Barborak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: