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

hudson.model.Hudson cannot be cast to hudson.model.Slave

XMLWordPrintable

      Trying to get skype-notifier plugin working. When Jenkins fires up, it throws:

      createConnection
      java.lang.ClassCastException: hudson.model.Hudson cannot be cast to hudson.model.Slave
      at hudson.plugins.skype.im.transport.SkypeIMConnection.createConnection(SkypeIMConnection.java:147)
      at hudson.plugins.skype.im.transport.SkypeIMConnection.connect(SkypeIMConnection.java:106)
      at hudson.plugins.skype.im.transport.SkypeIMConnectionProvider.createConnection(SkypeIMConnectionProvider.java:53)
      at hudson.plugins.im.IMConnectionProvider.create(IMConnectionProvider.java:65)
      at hudson.plugins.im.IMConnectionProvider.access$600(IMConnectionProvider.java:22)
      at hudson.plugins.im.IMConnectionProvider$ConnectorRunnable.run(IMConnectionProvider.java:183)
      at java.lang.Thread.run(Thread.java:636)

      Skype is running on the system as the same user, jenkins

      from config.xml:
      <primaryView>All</primaryView>
      <slaveAgentPort>0</slaveAgentPort>
      <label>skype</label>
      <nodeProperties/>
      <globalNodeProperties/>
      </hudson>

      Can't seem to find much on the web about the installation. Followed the example on jenkins site, however, I only have a master, no slave.

      Any pointers or help would be greatly appreciated. Thanks

      Henri Pipe

            jarlebh jarlebh
            henripipe Henri Pipe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: