You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <de...@tuscany.apache.org> on 2009/07/04 18:24:47 UTC

[jira] Resolved: (TUSCANY-2984) Potential IndexOutOfBounds in DojoModuleActivator

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

Luciano Resende resolved TUSCANY-2984.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: Java-SCA-1.5.1

Fixed by allowing defining ordering when starting module activators.

> Potential IndexOutOfBounds in DojoModuleActivator
> -------------------------------------------------
>
>                 Key: TUSCANY-2984
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2984
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Widget
>            Reporter: Brent Daniel
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-1.5.1
>
>
> DojoModuleActivator  attempts to load the first ServletHost from the ServletHostExtensionPoint. However, in most (all?) cases it will be another ModuleActivator that is adding the ServletHost to the extension point. Potentially, the DojoModuleActivator can run before the relevant ServletHost module activator, resulting in an IndexOutOfBounds on line 42 of DojoModuleActivator:
>   this.servletHost = servletHosts.getServletHosts().get(0);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.