When setting up a shared slave on Windows we receive Unable to launch the Application dialog

Issue

When launching a Windows shared slave we get “Unable to launch the application” with a java.lang.NullPointerException

service_NPE.png

application_error.png

Environment

  • CloudBees Jenkins Enterprise
  • Windows 2012

Resolution

In one customers case their slave names had spaces (e.g. “EXAMPLE SLAVE NAME”)

http://jenkins\_url/computer/EXAMPLE%20SLAVE%20NAME/slave-agent.jnlp

The %20 sequence used to URL-encode space can confuse Windows javaws, as the % character is used on Windows for environment variable.

Removing spaces from the name resolves this issue.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.