UIMA
  1. UIMA
  2. UIMA-2200

Underlying cause of an initialization exception is not reported when deployment fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1AS
    • Fix Version/s: 2.4.0AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      When deploying an async service with an annotator that fails to init the useful exception cause is omitted. All I get is:
      org.apache.uima.resource.ResourceInitializationException: Error initializing "AggBluemaxAnnotator" from descriptor
      file:...../AggBluemaxAnnotator-IC.xml

      While runAE on this descriptor yields the complete chain which includes:
      org.apache.uima.resource.ResourceConfigurationException: No value has been assigned to the mandatory configuration parameter ConfigFile

        Activity

        Hide
        Jerry Cwiklik added a comment -

        Modified SpringDeployer to expose the reason why AE initialization failed. Added a new test case to the extended test suite.

        Show
        Jerry Cwiklik added a comment - Modified SpringDeployer to expose the reason why AE initialization failed. Added a new test case to the extended test suite.

          People

          • Assignee:
            Jerry Cwiklik
            Reporter:
            Burn Lewis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development