swarm-1.3 client crashes if argument to "-name" contains a space

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor
    • Component/s: swarm-plugin
    • None
    • Environment:
      Fedora core 4 using jre1.6.0_18

      swarm-1.3 client crashes if argument to "-name" contains a space:

      Discovering Hudson master
      Found 1 eligible Hudson.
      Connecting to http://<hostname>:8080/
      Exception in thread "main" java.lang.NullPointerException
      at hudson.plugins.swarm.Client.copy(Client.java:264)
      at hudson.plugins.swarm.Client.createSwarmSlave(Client.java:238)
      at hudson.plugins.swarm.Client.run(Client.java:153)
      at hudson.plugins.swarm.Client.main(Client.java:87)

      By replacing the space with a colon, the swarm client was able to connect.

            Assignee:
            Peter Jönsson
            Reporter:
            btrost
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: