Avoid NPE if source contract is null

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@887868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
antelder 2009-12-07 09:41:48 +00:00
parent a70bb4a0fc
commit cbd3af5c9b

View file

@ -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();