You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2011/02/10 20:15:58 UTC

[jira] Closed: (UIMA-2044) UIMA AS Spring Container throws ava.lang.IllegalArgumentException: Display name must not be empty

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

Jerry Cwiklik closed UIMA-2044.
-------------------------------

    Resolution: Fixed

Modified to handle missing name in the AE descriptor. If the name is not specified and the service is top level and primitive, the name is extracted from the class implementing the AE. If top level and aggregate, use constant "Top Level Aggregate Service". If not top level, the name comes from UimaContextAdmin.getQualifiedContextName() which has a format: AE1/AE2/../AEn, where AE1 is toplevel, AE2 is a child of AE1, and so on. The code will log a message stating that the name is not defined in the AE descriptor and that a new one is generated.

> UIMA AS Spring Container throws ava.lang.IllegalArgumentException: Display name must not be empty
> -------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-2044
>                 URL: https://issues.apache.org/jira/browse/UIMA-2044
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Minor
>             Fix For: 2.3.1AS
>
>
> Spring throws java.lang.IllegalArgumentException: Display name must not be empty  when deploying UIMA AS service using AE descriptor which does not specify <name..> element or its value is an empty string. Modify UIMA AS Spring Deployer component to check for missing name and generate one instead. The generated name will be the AE Class name (minus the package part).

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira