diff --git a/arex-storage-web-api/src/main/java/com/arextest/storage/web/controller/ScheduleReplayQueryController.java b/arex-storage-web-api/src/main/java/com/arextest/storage/web/controller/ScheduleReplayQueryController.java index 5775e0c5..4b68a14a 100644 --- a/arex-storage-web-api/src/main/java/com/arextest/storage/web/controller/ScheduleReplayQueryController.java +++ b/arex-storage-web-api/src/main/java/com/arextest/storage/web/controller/ScheduleReplayQueryController.java @@ -365,6 +365,10 @@ private boolean getFromCompareRelation(String replayId) { } private boolean compareVersion(String replayAgentVersion) { + if (StringUtils.isEmpty(replayAgentVersion)) { + return false; + } + String agentVersion = applicationDefaultConfig.getConfigAsString(Constants.AGENT_VERSION, null); if (StringUtils.isEmpty(agentVersion)) { return false;