-
Patch
-
Resolution: Fixed
-
Minor
-
None
-
Platform: All, OS: All
Very minor issue, but thought I'd report it..
Visit the enterCredential page and just click the OK button w/o filling out the
form.. I get a "server error" page, and webserver log shows
NullPointerException. 1.262
Here is a patch to resolve this:
Index: main/core/src/main/java/hudson/scm/SubversionSCM.java
===================================================================
— main/core/src/main/java/hudson/scm/SubversionSCM.java (revision 13501)
+++ main/core/src/main/java/hudson/scm/SubversionSCM.java (working copy)
@@ -1128,7 +1128,7 @@
// SVNKit wants a key in a file
final File keyFile;
FileItem item=null;
+ if(idx <= 1) { keyFile = null; }
else {
item =
parser.getFileItem(kind.equals("publickey")?"privateKey":"certificate");