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

Error adding PEAR file with type priorities to aggregate AE using the CDE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0SDK
    • Tools
    • None

    Description

      Adding a PEAR file with its own defined types in the typePriorities section of its descriptor produces a ResourceInitializationError in the Eclipse Component Descriptor Editor.

      To reproduce:
      Created a simple AE and typeSystem, edit the
      typePriorities list to include
      <priorityList>
      <type>uima.tcas.DocumentAnnotation</type>
      <type>some.typename.you.Choose</type>
      </priorityList>
      I export and install the PEAR with no issues.

      Now create a new aggregate AE and on the aggregate tab of the editor,
      click Add..., select Import By Location, Browse the file system... to my
      locally installed PEAR file, and click OK. When I save the editor, I see
      the following error:
      "The Descriptor is invalid for the following reason:
      ResourceInitializationException: Undefined type "some.typename.you.Choose"
      in type priority list. (Descriptor:
      ...installedPears/testPear/desc/test.xml)"

      Attachments

        Issue Links

          Activity

            People

              schor Marshall Schor
              lmsurprenant Lee Surprenant
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: