diff --git a/test-track/backend/src/main/java/io/metersphere/service/PlatformPluginService.java b/test-track/backend/src/main/java/io/metersphere/service/PlatformPluginService.java index 99de6c6cec..6aac7f8ee1 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/PlatformPluginService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/PlatformPluginService.java @@ -63,7 +63,7 @@ public class PlatformPluginService { return false; } PluginMetaInfo pluginMetaInfo = pluginManager.getPluginMetaInfoByKey(platform); - return pluginMetaInfo.isThirdPartTemplateSupport(); + return pluginMetaInfo == null ? false : pluginMetaInfo.isThirdPartTemplateSupport(); } public Platform getPlatform(String platformKey, String workspaceId) {