David Melia
2023-09-14 11:37:11 +01:00
committed by GitHub
parent 44c634d0e9
commit 62ee4ad811

View File

@@ -251,7 +251,7 @@ class StubRunnerExecutor implements StubFinder {
setMessageType(contract, ContractVerifierMessageMetadata.MessageType.OUTPUT);
Object payload = null;
if (body.getClientValue() instanceof FromFileProperty) {
if (body != null && body.getClientValue() instanceof FromFileProperty) {
FromFileProperty fromFile = (FromFileProperty) body.getClientValue();
if (fromFile.isByte()) {
payload = fromFile.asBytes();