Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
[JENKINS-14281] Check if old field exists before copying the results.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jul 5, 2012
1 parent 4804292 commit 4b1a468
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/hudson/plugins/warnings/WarningsPublisher.java
Expand Up @@ -176,8 +176,10 @@ protected Object readResolve() {

if (consoleParsers == null) {
consoleParsers = Lists.newArrayList();
for (String parser : consoleLogParsers) {
consoleParsers.add(new ConsoleParser(parser));
if (consoleLogParsers != null) {
for (String parser : consoleLogParsers) {
consoleParsers.add(new ConsoleParser(parser));
}
}
}
return this;
Expand Down

0 comments on commit 4b1a468

Please sign in to comment.