java.lang.ClassCastException: hudson.model.Hudson cannot be cast to hudson.model.Slave

Jenkins JIRA | Henri Pipe | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. java.lang.ClassCastException

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

      at hudson.plugins.skype.im.transport.SkypeIMConnection.createConnection()
    2. hudson.plugins.skype
      SkypeIMConnectionProvider.createConnection
      1. hudson.plugins.skype.im.transport.SkypeIMConnection.createConnection(SkypeIMConnection.java:147)
      2. hudson.plugins.skype.im.transport.SkypeIMConnection.connect(SkypeIMConnection.java:106)
      3. hudson.plugins.skype.im.transport.SkypeIMConnectionProvider.createConnection(SkypeIMConnectionProvider.java:53)
      3 frames
    3. Hudson instant-messaging plugin
      IMConnectionProvider$ConnectorRunnable.run
      1. hudson.plugins.im.IMConnectionProvider.create(IMConnectionProvider.java:65)
      2. hudson.plugins.im.IMConnectionProvider.access$600(IMConnectionProvider.java:22)
      3. hudson.plugins.im.IMConnectionProvider$ConnectorRunnable.run(IMConnectionProvider.java:183)
      3 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:636)
      1 frame