diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-12-07 09:41:48 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-12-07 09:41:48 +0000 |
commit | cbd3af5c9b533f49d700847fec35213f72e697fd (patch) | |
tree | 9b5e5a6e77bb6072634f369a893240fdd166ec09 /sca-java-2.x | |
parent | a70bb4a0fcce5a600090350a1716a18d91f06283 (diff) |
Avoid NPE if source contract is null
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@887868 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/core-databinding/src/main/java/org/apache/tuscany/sca/core/databinding/wire/DataBindingRuntimeWireProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/core-databinding/src/main/java/org/apache/tuscany/sca/core/databinding/wire/DataBindingRuntimeWireProcessor.java b/sca-java-2.x/trunk/modules/core-databinding/src/main/java/org/apache/tuscany/sca/core/databinding/wire/DataBindingRuntimeWireProcessor.java index d4018e22a7..27c25e7f71 100644 --- a/sca-java-2.x/trunk/modules/core-databinding/src/main/java/org/apache/tuscany/sca/core/databinding/wire/DataBindingRuntimeWireProcessor.java +++ b/sca-java-2.x/trunk/modules/core-databinding/src/main/java/org/apache/tuscany/sca/core/databinding/wire/DataBindingRuntimeWireProcessor.java @@ -190,7 +190,7 @@ public class DataBindingRuntimeWireProcessor implements RuntimeWireProcessor { targetContract = sourceContract; } - if (!sourceContract.getInterface().isRemotable()) { + if (sourceContract == null || !sourceContract.getInterface().isRemotable()) { return; } List<InvocationChain> chains = endpointReference.getInvocationChains(); |