Skip to content

Commit

Permalink
[JENKINS-16845] Refinement to hotfix: if build field has already been…
Browse files Browse the repository at this point in the history
… cleared due to earlier warning, do not throw a new NPE.
  • Loading branch information
jglick committed Apr 25, 2013
1 parent 64ff047 commit 24c8b60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/main/java/hudson/tasks/Fingerprinter.java
Expand Up @@ -343,6 +343,9 @@ public Map<String,String> getRecords() {
}

public void onLoad() {
if (build == null) {
return;
}
if (build.getParent() == null) {
logger.warning("JENKINS-16845: broken FingerprintAction record");
build = null;
Expand Down

0 comments on commit 24c8b60

Please sign in to comment.