You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[JENKINS-2698] scm/SubversionSCM/enterCredential gets NullPointerException if form left blank #514
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
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
Activity
jenkins-infra-bot commentedon Dec 12, 2008
Raw content of original comment:
else { item = parser.getFileItem(kind.equals("publickey")?"privateKey":"certificate");
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");
jenkins-infra-bot commentedon Dec 16, 2008
Raw content of original comment:
Code changed in hudson
User: : kohsuke
Path:
trunk/hudson/main/core/src/main/java/hudson/scm/SubversionSCM.java
trunk/www/changelog.html
http://fisheye4.cenqua.com/changelog/hudson/?cs=13649
Log:
[FIXED JENKINS-2698] In 1.265.