Skip to content
Permalink
Browse files
[JENKINS-16845] Refinement to hotfix: if build field has already been…
… cleared due to earlier warning, do not throw a new NPE.
  • Loading branch information
jglick committed Apr 25, 2013
1 parent 6e91651 commit 405746324411959713835a02ba4a10096372bbdc
Showing with 3 additions and 0 deletions.
  1. +3 −0 core/src/main/java/hudson/tasks/Fingerprinter.java
@@ -343,6 +343,9 @@ public AbstractBuild getBuild() {
}

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

0 comments on commit 4057463

Please sign in to comment.