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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to