diff --git a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/result/BaseExecutorAdapter.java b/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/result/BaseExecutorAdapter.java index ac25fb66..c986bd2f 100644 --- a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/result/BaseExecutorAdapter.java +++ b/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/result/BaseExecutorAdapter.java @@ -261,7 +261,7 @@ public abstract class BaseExecutorAdapter implements ResultExecutor return null; } Isv isvInfo = isvManager.getIsv(appKey); - String privateKeyPlatform = isvInfo.getPrivateKeyPlatform(); + String privateKeyPlatform = isvInfo == null ? null : isvInfo.getPrivateKeyPlatform(); if (StringUtils.isEmpty(privateKeyPlatform)) { return null; }