Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47052

JNLP Slave connection error

XMLWordPrintable

      Using version 2.73.1 when I try to connect a JNLP slave running on windows I get an error: The field <jnlp><application-desc><argument> has an invalid value. The master is running the official docker version.

      The Launch file is: <jnlp codebase="https://ci-ndp.cdp.net/computer/windows-int/" spec="1.0+"><information><title>Agent for windows-int</title><vendor>Jenkins project</vendor><homepage href="https://jenkins-ci.org/"/></information><security><all-permissions/></security><resources><j2se version="1.8+"/><jar href="https://ci-ndp.cdp.net/jnlpJars/remoting.jar"/></resources><application-desc main-class="hudson.remoting.jnlp.Main"><argument/><argument>windows-int</argument><argument>-workDir</argument><argument>c:\jenkins</argument><argument>-internalDir</argument><argument>remoting</argument><argument>-url</argument><argument>https://ci-ndp.cdp.net/</argument></application-desc></jnlp>

       

      and the Exception lists as:

      BadFieldException[ The field <jnlp><application-desc><argument> has an invalid value: ,]
      at com.sun.javaws.jnl.XMLFormat$10.visitElement(Unknown Source)
      at com.sun.javaws.jnl.XMLUtils.visitElements(Unknown Source)
      at com.sun.javaws.jnl.XMLFormat.buildApplicationDesc(Unknown Source)
      at com.sun.javaws.jnl.XMLFormat.process(Unknown Source)
      at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
      at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
      at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
      at com.sun.javaws.Main.launchApp(Unknown Source)
      at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
      at com.sun.javaws.Main.access$000(Unknown Source)
      at com.sun.javaws.Main$1.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

            Unassigned Unassigned
            mattayers Matthew Ayers
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: