Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
[JENKINS-14570] Fixed NPE for old builds.
  • Loading branch information
uhafner committed Aug 22, 2012
1 parent aa44277 commit 9a8aa7637e3c4fcc2b29235dc850c0bf6d2a57ad
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/hudson/plugins/warnings/WarningsResult.java
@@ -89,7 +89,8 @@ private String getUrl() {
@Override
protected String getSerializationFileName() {
FileChecker fileChecker = new FileChecker(getOwner().getRootDir());
return getFileName(fileChecker, ParserRegistry.getUrl(group));

return getFileName(fileChecker, group == null ? 0 : ParserRegistry.getUrl(group));
}

String getFileName(final FileChecker fileChecker, final int groupUrl) {

0 comments on commit 9a8aa76

Please sign in to comment.