Details

    • Similar Issues:

      Description

      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)

        Attachments

          Activity

          Hide
          kniebou Nicolas Kniebihler added a comment - - edited

          I have the exact same issue

          Show
          kniebou Nicolas Kniebihler added a comment - - edited I have the exact same issue
          Hide
          eratolekov Era Tolekov added a comment -

          Replace in jnlp-file

           <argument>-workDir</argument>
           <argument />

          with

           <argument>-workDir</argument>
           <argument>.</argument>

          as workaround.

          Show
          eratolekov Era Tolekov added a comment - Replace in jnlp-file  <argument>-workDir</argument>  <argument /> with  <argument>-workDir</argument> <argument>.</argument> as workaround.
          Hide
          same Sam E added a comment -

          Another workaround is to fill something in "Custom WorkDir path" field in the agent's configuration 

          Show
          same Sam E added a comment - Another workaround is to fill something in "Custom WorkDir path" field in the agent's configuration 

            People

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

              Dates

              • Created:
                Updated: