Skip to content

Commit

Permalink
[FIXED JENKINS-22036] NPE in the graph when there is no test plan
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed Mar 4, 2014
1 parent ef36019 commit 182a126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/tap4j/plugin/TapResult.java
Expand Up @@ -186,7 +186,7 @@ public void tally() {

Plan plan = realTestSet.getPlan();

if (plan.isSkip()) {
if (plan != null && plan.isSkip()) {
this.skipped += testResults.size();
} else {
for (TestResult testResult : testResults) {
Expand Down

0 comments on commit 182a126

Please sign in to comment.