Commit: c00d4846bcc545ae7ad22f0d9433f9077d1c6705 Author: Allen Truong <v-alt...@microsoft.com> Fri, 22 Nov 2019 19:33:56 +0100 Committer: Christoph M. Becker <cmbecke...@gmx.de> Fri, 22 Nov 2019 19:40:14 +0100 Parents: 94eb81a9e90be9f8ad1f576d9bf043e7952cc81a Branches: master
Link: http://git.php.net/?p=pftt2.git;a=commitdiff;h=c00d4846bcc545ae7ad22f0d9433f9077d1c6705 Log: Fixes #76: ArrayOutOfBounds exception fixed. Bugs: https://bugs.php.net/76 Changed paths: M src/com/mostc/pftt/main/PfttMain.java Diff: diff --git a/src/com/mostc/pftt/main/PfttMain.java b/src/com/mostc/pftt/main/PfttMain.java index 7149b1e4..ac0b6ade 100644 --- a/src/com/mostc/pftt/main/PfttMain.java +++ b/src/com/mostc/pftt/main/PfttMain.java @@ -758,8 +758,13 @@ public class PfttMain { cm.showGUI(test_pack_runner); test_pack_runner.runTestList(test_pack, test_cases); - - tmgr.notifyPhptFinished(host, test_pack_runner.getScenarioSetSetup(), test_pack); + + ScenarioSetSetup scenarioSetSetup = test_pack_runner.getScenarioSetSetup(); + if(scenarioSetSetup == null) { + return; + } + + tmgr.notifyPhptFinished(host, scenarioSetSetup, test_pack); if (!run_flag.get()) return; }