summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/assembly
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca/modules/assembly')
-rw-r--r--java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/CompositePolicyBuilderImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/CompositePolicyBuilderImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/CompositePolicyBuilderImpl.java
index 7e0010c63b..9c7bd6b2d9 100644
--- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/CompositePolicyBuilderImpl.java
+++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/builder/impl/CompositePolicyBuilderImpl.java
@@ -351,7 +351,7 @@ public class CompositePolicyBuilderImpl extends BaseBuilderImpl implements Compo
for (ComponentReference componentReference : component.getReferences()) {
isMutualExclusive(componentReference, componentReference.getReference());
- if (componentReference.getInterfaceContract() != null) {
+ if (componentReference.getInterfaceContract() != null && componentReference.getReference() != null) {
isMutualExclusive(componentReference.getInterfaceContract().getInterface(), componentReference
.getReference().getInterfaceContract().getInterface());
isMutualExclusive(componentReference.getInterfaceContract().getCallbackInterface(),