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.

Reply via email to