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:
parent
a70bb4a0fc
commit
cbd3af5c9b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue