You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Mike Edwards (JIRA)" <de...@tuscany.apache.org> on 2009/05/29 16:18:45 UTC

[jira] Created: (TUSCANY-3066) NodeImpl.stop() fails with a NPE if the Node encounters a ContributionReadException on Node.start()

NodeImpl.stop() fails with a NPE if the Node encounters a ContributionReadException on Node.start()
---------------------------------------------------------------------------------------------------

                 Key: TUSCANY-3066
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3066
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Core Runtime
    Affects Versions: Java-SCA-2.0
            Reporter: Mike Edwards
            Assignee: Mike Edwards
             Fix For: Java-SCA-2.0


If a node is started and it encounters a ContributionReadException when processing Node.start(), Node.stop() hits a Null Pointer Exception.

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


[jira] Commented: (TUSCANY-3066) NodeImpl.stop() fails with a NPE if the Node encounters a ContributionReadException on Node.start()

Posted by "Mike Edwards (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-3066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714461#action_12714461 ] 

Mike Edwards commented on TUSCANY-3066:
---------------------------------------

This is caused by an unguarded access to compositeActivator.getDomainComposite(), which can return NULL in the case that the start() processing did not complete successfully.

> NodeImpl.stop() fails with a NPE if the Node encounters a ContributionReadException on Node.start()
> ---------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3066
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3066
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-2.0
>            Reporter: Mike Edwards
>            Assignee: Mike Edwards
>             Fix For: Java-SCA-2.0
>
>
> If a node is started and it encounters a ContributionReadException when processing Node.start(), Node.stop() hits a Null Pointer Exception.

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


[jira] Closed: (TUSCANY-3066) NodeImpl.stop() fails with a NPE if the Node encounters a ContributionReadException on Node.start()

Posted by "Mike Edwards (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Edwards closed TUSCANY-3066.
---------------------------------


Closing resolved issues

> NodeImpl.stop() fails with a NPE if the Node encounters a ContributionReadException on Node.start()
> ---------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3066
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3066
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-2.0
>            Reporter: Mike Edwards
>            Assignee: Mike Edwards
>             Fix For: Java-SCA-2.0
>
>
> If a node is started and it encounters a ContributionReadException when processing Node.start(), Node.stop() hits a Null Pointer Exception.

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


[jira] Resolved: (TUSCANY-3066) NodeImpl.stop() fails with a NPE if the Node encounters a ContributionReadException on Node.start()

Posted by "Mike Edwards (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Edwards resolved TUSCANY-3066.
-----------------------------------

    Resolution: Fixed

Fixed by adding a guard check for compositeActivator.getDomainComposite()

committed in 

779992

> NodeImpl.stop() fails with a NPE if the Node encounters a ContributionReadException on Node.start()
> ---------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3066
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3066
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-2.0
>            Reporter: Mike Edwards
>            Assignee: Mike Edwards
>             Fix For: Java-SCA-2.0
>
>
> If a node is started and it encounters a ContributionReadException when processing Node.start(), Node.stop() hits a Null Pointer Exception.

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