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

[jira] Created: (TUSCANY-2971) Wires are not resolved correctly resulting in a NullPointerException

Wires are not resolved correctly resulting in a NullPointerException
--------------------------------------------------------------------

                 Key: TUSCANY-2971
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2971
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Core Runtime
    Affects Versions: Java-SCA-1.4, Java-SCA-Next
            Reporter: Julien Bigot


in modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/BaseWireBuilderImpl.java target of unresolved wires are not updated correctly. The following patch resolves the issue.

926c926
<                     wire.setTarget(target);
---
>                     wire.setTarget(resolvedService);
928c928
<                     warning("WireTargetNotFound", composite, source.getName());
---
>                     warning("WireTargetNotFound", composite, target.getName());



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


[jira] Closed: (TUSCANY-2971) Wires are not resolved correctly resulting in a NullPointerException

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

Julien Bigot closed TUSCANY-2971.
---------------------------------

    Resolution: Invalid

This was an error, sorry for the disturbance

> Wires are not resolved correctly resulting in a NullPointerException
> --------------------------------------------------------------------
>
>                 Key: TUSCANY-2971
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2971
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-1.4, Java-SCA-Next
>            Reporter: Julien Bigot
>
> in modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/BaseWireBuilderImpl.java target of unresolved wires are not updated correctly. The following patch resolves the issue.
> 926c926
> <                     wire.setTarget(target);
> ---
> >                     wire.setTarget(resolvedService);
> 928c928
> <                     warning("WireTargetNotFound", composite, source.getName());
> ---
> >                     warning("WireTargetNotFound", composite, target.getName());

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