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

Upgrading slack plugin breaks jenkins

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • slack-plugin
    • None
    • Slack plugin 2.1
      Jenkins 2.30

    Description

      Upgraded from slack plugin 1.8.1 to 2.1 got this error.

      hudson.util.HudsonFailedToLoad: java.lang.AssertionError: class jenkins.plugins.slack.SlackNotifier$SlackJobProperty is missing its descriptor
      at hudson.WebAppMain$3.run(WebAppMain.java:245)
      Caused by: java.lang.AssertionError: class jenkins.plugins.slack.SlackNotifier$SlackJobProperty is missing its descriptor
      at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1533)
      at hudson.model.JobProperty.getDescriptor(JobProperty.java:105)
      at hudson.model.JobProperty.getDescriptor(JobProperty.java:79)
      at hudson.model.Descriptor.toMap(Descriptor.java:989)
      at hudson.model.Job.getProperties(Job.java:554)
      at org.jenkinsci.plugins.envinject.migration.EnvInjectMigrationListener.onLoaded(EnvInjectMigrationListener.java:47)
      at jenkins.model.Jenkins.<init>(Jenkins.java:995)
      at hudson.model.Hudson.<init>(Hudson.java:85)
      at hudson.model.Hudson.<init>(Hudson.java:81)
      at hudson.WebAppMain$3.run(WebAppMain.java:231)

      Attachments

        Activity

          allan_burdajewicz Allan BURDAJEWICZ added a comment - Some workaround are explained in this thread: https://github.com/jenkinsci/slack-plugin/issues/188#issuecomment-246655313
          timja Tim Jacomb added a comment -

          fixed?

          timja Tim Jacomb added a comment - fixed?

          People

            kmadel Kurt Madel
            tomaxsas Tomas Zaleniakas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: