You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2008/03/03 16:14:50 UTC

[jira] Resolved: (AXIS2-3543) ServiceContext.activate never executes the else block

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

Davanum Srinivas resolved AXIS2-3543.
-------------------------------------

    Resolution: Fixed

> ServiceContext.activate never executes the else block
> -----------------------------------------------------
>
>                 Key: AXIS2-3543
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3543
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Michele Mazzucco
>            Priority: Critical
>         Attachments: AXIS2-3543.patch
>
>
> ServiceGroupContext existingSGC = null;
>             ServiceGroupContext sgc = cc.getServiceGroupContext(groupName);
>             if (existingSGC == null) {
>                 // could not find an existing ServiceGroupContext
>                 // use the restored object
>                 metaParent.activate(cc);
>                 // set parent 
>                 this.setParent(metaParent);
>             } else {
>     // do something else
> The else block is never executed because existingSGC is null
> I suspect existingSGC should be set to cc.getServiceGroupContext(groupName);

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org