Repository navigation
[JENKINS-1237] JNLP error as secretKey argument is empty since build 1.175 #872
Description
Hi,
Since version 1.175 and up to current one (1.177 at the time I'm preparing this
post), our slaves fail to launch due to a JNLP error:
BadFieldException[ The field has an invalid value : ,]
at com.sun.javaws.jnl.XMLFormat$9.visitElement(Unknown Source)
...
All slaves have use a command line like:
javaws http://buildserver:8080/computer/%COMPUTERNAME%/slave-agent.jnlp
Let's have a quick look at the launch file...
<title>Slave Agent for PONTOS</title>
Hudson project
buildserver
http://buildserver:8080/tcpSlaveAgentListener/
PONTOS
... 3rd argument field (secretKey according to Engine.java) is empty.
Is it related to the recent move of the "secret.key" file management from
TcpSlaveAgentListener.java to Hudson.java?
Thank you very much,
Regis.
PS: Thanks again for the killer tool you're working on!
Originally reported by rdesgroppes, imported from: JNLP error as secretKey argument is empty since build 1.175
- status: Closed
- priority: Major
- component(s): remoting
- resolution: Fixed
- resolved: 2008-02-02T22:11:15+00:00
- votes: 0
- watchers: 0
- imported: 2025-11-25
Raw content of original issue
Hi,
Since version 1.175 and up to current one (1.177 at the time I'm preparing this post), our slaves fail to launch due to a JNLP error:
BadFieldException[ The field <argument> has an invalid value : ,]
at com.sun.javaws.jnl.XMLFormat$9.visitElement(Unknown Source)
...
All slaves have use a command line like: javaws http://buildserver:8080/computer/%COMPUTERNAME%/slave-agent.jnlp
Let's have a quick look at the launch file...
<jnlp codebase="http://buildserver:8080/computer/PONTOS/" spec="1.0+">
<information>
<title>Slave Agent for PONTOS</title>
<vendor>Hudson project</vendor>
<homepage href="https://hudson.dev.java.net/"></homepage>
</information>
<security><all-permissions></all-permissions></security>
<resources>
<j2se version="1.5+"></j2se>
<jar href="jnlpJars/jnlp-agent.jar"></jar>
<jar href="jnlpJars/remoting.jar"></jar>
</resources>
<application-desc main-class="hudson.jnlp.Main">
<argument>buildserver</argument>
<argument>http://buildserver:8080/tcpSlaveAgentListener/</argument>
<argument></argument>
<argument>PONTOS</argument>
</application-desc>
</jnlp>
... 3rd argument field (secretKey according to Engine.java) is empty.
Is it related to the recent move of the "secret.key" file management from TcpSlaveAgentListener.java to Hudson.java?
Thank you very much, Regis.
PS: Thanks again for the killer tool you're working on!
- environment:
Platform: All, OS: All
Activity
jenkins-infra-bot commentedon Feb 2, 2008
Raw content of original comment:
Argh!!
I fixed this in 1.179.
jenkins-infra-bot commentedon Feb 9, 2008
Raw content of original comment:
jenkins-infra-bot commentedon Nov 25, 2025
[Original
is_duplicated_byfrom Jira: JENKINS-1242]