Index: TestHarness4LAMS2/src/org/lamsfoundation/testharness/TestSuite.java =================================================================== diff -u -r37d07da894922569d79ce4f517c45f8cbed4c452 -r7fbd1c90e660da1746c33bbb0b993e92f979f81c --- TestHarness4LAMS2/src/org/lamsfoundation/testharness/TestSuite.java (.../TestSuite.java) (revision 37d07da894922569d79ce4f517c45f8cbed4c452) +++ TestHarness4LAMS2/src/org/lamsfoundation/testharness/TestSuite.java (.../TestSuite.java) (revision 7fbd1c90e660da1746c33bbb0b993e92f979f81c) @@ -87,9 +87,11 @@ monitorTest.start(); if (learnerTest != null) learnerTest.start(); - CountDownLatch stopSignal = new CountDownLatch(1); - monitorTest.notifyMonitorToStop(stopSignal); - stopSignal.await(); + if(monitorTest != null){ + CountDownLatch stopSignal = new CountDownLatch(1); + monitorTest.notifyMonitorToStop(stopSignal); + stopSignal.await(); + } finished = true; log.info("Finished test suite "+suiteIndex); } catch(Exception e) {//All the exceptions which happened during test stop propagation here