[JIRA] [core] (JENKINS-26658) NPE when launching JNLP slave with blank in name in recent JRE

2015-01-29 Thread bananewei...@gmx.de (JIRA)














































Michael Keppler
 commented on  JENKINS-26658


NPE when launching JNLP slave with blank in name in recent JRE















When collecting your requested data, I found there is a totally different root cause. We have that command in a batch file, and Windows interprets the %2 from the escaped blank as batch parameter, replacing it with an empty string. Escaping with another percent sign in the batch file (i.e. blank%%20name) fixes everything.

So basically there is no bug in Jenkins. However, everyone just copying the command line of a slave with a blank in the name will easily run into the same trouble. Maybe a note could be added to the slave page? I'm fine if you just close the bug.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-26658) NPE when launching JNLP slave with blank in name in recent JRE

2015-01-28 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-26658


NPE when launching JNLP slave with blank in name in recent JRE















Which is the newest known JRE 7 to still work?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-26658) NPE when launching JNLP slave with blank in name in recent JRE

2015-01-28 Thread bananewei...@gmx.de (JIRA)














































Michael Keppler
 created  JENKINS-26658


NPE when launching JNLP slave with blank in name in recent JRE















Issue Type:


Bug



Assignee:


Unassigned


Components:


core



Created:


28/Jan/15 9:29 AM



Description:


Reproduction:
1. Have a slave with a blank in the name ("ASCET classic" in our case).
2. Try starting it by launching the JNLP file on a recent Oracle JRE (JRE 7.u75 in my case)
- NPE during launch, slave not coming up.

Running the same JNLP from the command line shows some additional error messages that leads to the root cause: It tries to access jenkinsUrl/computer/ASCET0Classic instead of jenkinsUrl/computer/ASCET%20Classic (i.e. the blank is encoded wrongly).

Side notes:
1. Replacing the blank in the slave name solves the launch problems.
2. The same slave name worked fine with earlier versions of the Oracle JRE7.




Project:


Jenkins



Priority:


Major



Reporter:


Michael Keppler

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-26658) NPE when launching JNLP slave with blank in name in recent JRE

2015-01-28 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-26658


NPE when launching JNLP slave with blank in name in recent JRE















Could you provide the error messages you get when running from the command line?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-26658) NPE when launching JNLP slave with blank in name in recent JRE

2015-01-28 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-26658


NPE when launching JNLP slave with blank in name in recent JRE















Cannot reproduce on Jenkins 1.580.2 with 64-bit Java 1.7.0_75 from Oracle on Windows 8 using the command (as written on the slave's index page):


java -jar slave.jar -jnlpUrl http://jenkins/computer/JENKINS%2026658/slave-agent.jnlp -secret 28595d39427950fa9495fae866fe07c0fa5d2fcf93cdcf3ab451c7e9da22b185


Jan 28, 2015 1:11:37 PM hudson.remoting.jnlp.Main createEngine
INFO: Setting up slave: JENKINS 26658
Jan 28, 2015 1:11:37 PM hudson.remoting.jnlp.Main$CuiListener init
INFO: Jenkins agent is running in headless mode.
Jan 28, 2015 1:11:37 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among http://jenkins/
Jan 28, 2015 1:11:37 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to jenkins:49735
Jan 28, 2015 1:11:37 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Jan 28, 2015 1:11:37 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connected



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-26658) NPE when launching JNLP slave with blank in name in recent JRE

2015-01-28 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-26658


NPE when launching JNLP slave with blank in name in recent JRE















Would be interesting to know the contents of the JNLP file, and which version of Jenkins (and slave.jar) you're using.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-26658) NPE when launching JNLP slave with blank in name in recent JRE

2015-01-28 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-26658


NPE when launching JNLP slave with blank in name in recent JRE















2. The same slave name worked fine with earlier versions of the Oracle JRE7.

To clarify, this is independent of Jenkins versions? Both the older JRE, which works, and the newer JRE, which does not, access the same Jenkins version?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.