mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 22:12:25 +00:00
fixed NPE (#608)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3486 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
c88567a137
commit
33232052ca
1 file changed
+1
-1
@@ -65,7 +65,7 @@ public abstract class FormFieldValidator {
|
||||
* can be used as <tt>ok()</tt>.
|
||||
*/
|
||||
public void error(String message) throws IOException, ServletException {
|
||||
errorWithMarkup(Util.escape(message));
|
||||
errorWithMarkup(message==null?null:Util.escape(message));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user