From 0d70c3e4ad18bf6ce9d2184e0e1f9cd01d6ad621 Mon Sep 17 00:00:00 2001 From: hmm Date: Thu, 25 Sep 2014 13:46:20 +0800 Subject: [PATCH] fix bug limitModel is null --- .../main/java/org/bench4q/master/domain/entity/TestPlan.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bench4Q-Master/src/main/java/org/bench4q/master/domain/entity/TestPlan.java b/Bench4Q-Master/src/main/java/org/bench4q/master/domain/entity/TestPlan.java index 9ff78811..cebcae9a 100644 --- a/Bench4Q-Master/src/main/java/org/bench4q/master/domain/entity/TestPlan.java +++ b/Bench4Q-Master/src/main/java/org/bench4q/master/domain/entity/TestPlan.java @@ -263,7 +263,7 @@ public class TestPlan implements IAggregate { } //start monitor to check the limit UUID testPlanIdUuid = UUID.fromString(this.testPlanRunId); - if (getMonitors() != null) { + if (getMonitors() != null && this.limitModel != null) { for (Monitor monitor : getMonitors()) { monitor.start(testPlanIdUuid, this.limitModel); }