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 "Michele Mazzucco (JIRA)" <ji...@apache.org> on 2007/04/23 16:06:25 UTC

[jira] Created: (AXIS2-2583) ServiceContext.activate() never executes a path because of null value

ServiceContext.activate() never executes a path because of null value
---------------------------------------------------------------------

                 Key: AXIS2-2583
                 URL: https://issues.apache.org/jira/browse/AXIS2-2583
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
            Reporter: Michele Mazzucco


In ServiceContext.activate() there's:

ServiceGroupContext existingSGC = null;
if (existingSGC == null) {
    // do A
} else {
   // do B
}

The else is never executed

-- 
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


[jira] Commented: (AXIS2-2583) ServiceContext.activate() never executes a path because of null value

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574561#action_12574561 ] 

Davanum Srinivas commented on AXIS2-2583:
-----------------------------------------

I just fixed this.

> ServiceContext.activate() never executes a path because of null value
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-2583
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2583
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>            Reporter: Michele Mazzucco
>            Assignee: Bill Nagy
>            Priority: Critical
>         Attachments: AXIS2-2583.patch
>
>
> In ServiceContext.activate() there's:
> ServiceGroupContext existingSGC = null;
> if (existingSGC == null) {
>     // do A
> } else {
>    // do B
> }
> The else is never executed

-- 
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


[jira] Updated: (AXIS2-2583) ServiceContext.activate() never executes a path because of null value

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eran Chinthaka updated AXIS2-2583:
----------------------------------

         Priority: Critical  (was: Major)
    Fix Version/s: 1.3
         Assignee: Bill Nagy  (was: Deepal Jayasinghe)

Bill,

You seems to be the person who had written this code and/or applied the patch (thanks to svn blame command)

I think this seems to be a trivial fix. Can we please get this fixed for the next release?

Thanks,
Chinthaka

> ServiceContext.activate() never executes a path because of null value
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-2583
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2583
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>            Reporter: Michele Mazzucco
>            Assignee: Bill Nagy
>            Priority: Critical
>             Fix For: 1.3
>
>
> In ServiceContext.activate() there's:
> ServiceGroupContext existingSGC = null;
> if (existingSGC == null) {
>     // do A
> } else {
>    // do B
> }
> The else is never executed

-- 
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


[jira] Updated: (AXIS2-2583) ServiceContext.activate() never executes a path because of null value

Posted by "Thilina Buddhika (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thilina Buddhika updated AXIS2-2583:
------------------------------------

    Attachment: AXIS2-2583.patch

ServiceGroupContext existingSGC = null was replaced by the following line.

ServiceGroupContext existingSGC = cc.getServiceGroupContext(groupName);

Now the else block will be evaluated if existingSGC is not null.

> ServiceContext.activate() never executes a path because of null value
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-2583
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2583
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>            Reporter: Michele Mazzucco
>            Assignee: Bill Nagy
>            Priority: Critical
>         Attachments: AXIS2-2583.patch
>
>
> In ServiceContext.activate() there's:
> ServiceGroupContext existingSGC = null;
> if (existingSGC == null) {
>     // do A
> } else {
>    // do B
> }
> The else is never executed

-- 
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


[jira] Assigned: (AXIS2-2583) ServiceContext.activate() never executes a path because of null value

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-2583:
----------------------------------------

    Assignee: Deepal Jayasinghe

> ServiceContext.activate() never executes a path because of null value
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-2583
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2583
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>            Reporter: Michele Mazzucco
>         Assigned To: Deepal Jayasinghe
>
> In ServiceContext.activate() there's:
> ServiceGroupContext existingSGC = null;
> if (existingSGC == null) {
>     // do A
> } else {
>    // do B
> }
> The else is never executed

-- 
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


[jira] Resolved: (AXIS2-2583) ServiceContext.activate() never executes a path because of null value

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-2583.
-------------------------------------

    Resolution: Fixed

> ServiceContext.activate() never executes a path because of null value
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-2583
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2583
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>            Reporter: Michele Mazzucco
>            Assignee: Bill Nagy
>            Priority: Critical
>         Attachments: AXIS2-2583.patch
>
>
> In ServiceContext.activate() there's:
> ServiceGroupContext existingSGC = null;
> if (existingSGC == null) {
>     // do A
> } else {
>    // do B
> }
> The else is never executed

-- 
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


[jira] Updated: (AXIS2-2583) ServiceContext.activate() never executes a path because of null value

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-2583:
------------------------------------

    Fix Version/s:     (was: 1.3)

> ServiceContext.activate() never executes a path because of null value
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-2583
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2583
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>            Reporter: Michele Mazzucco
>            Assignee: Bill Nagy
>            Priority: Critical
>
> In ServiceContext.activate() there's:
> ServiceGroupContext existingSGC = null;
> if (existingSGC == null) {
>     // do A
> } else {
>    // do B
> }
> The else is never executed

-- 
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