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

plugin failing with JDK11

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After upgrading to JDK11, the plugin fails with:

       

       09:38:39 - ERROR: Step ‘E-mail Notification’ aborted due to exception: 
       09:38:39 - ERROR: Step ‘E-mail Notification’ aborted due to exception: 
       09:38:39 - java.lang.ClassNotFoundException: javax.activation.DataSource
       09:38:39 - at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
       09:38:39 - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
       09:38:39 - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
       09:38:39 - Caused: java.lang.NoClassDefFoundError: javax/activation/DataSource
       09:38:39 - at jenkins.plugins.mailer.tasks.MimeMessageBuilder.buildMimeMessage(MimeMessageBuilder.java:198)
       09:38:39 - at hudson.tasks.MailSender.createEmptyMail(MailSender.java:403)
       09:38:39 - at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:208)
       09:38:39 - at hudson.tasks.MailSender.createMail(MailSender.java:196)
       09:38:39 - at hudson.tasks.MailSender.run(MailSender.java:111)
       09:38:39 - at hudson.tasks.Mailer.perform(Mailer.java:175)
       09:38:39 - at hudson.tasks.Mailer.perform(Mailer.java:138)
       09:38:39 - at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
       09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
       09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
       09:38:39 - at hudson.model.Build$BuildExecution.post2(Build.java:186)
       09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
       09:38:39 - at hudson.model.Run.execute(Run.java:1843)
       09:38:39 - at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
       09:38:39 - at hudson.model.ResourceController.execute(ResourceController.java:97)
       09:38:39 - at hudson.model.Executor.run(Executor.java:429)

        Attachments

          Activity

          peterriver Peter River created issue -
          ianw Ian Williams made changes -
          Field Original Value New Value
          Description After upgrading to JDK11, the plugin fails with:

           

          09:38:39 - ERROR: Step ‘E-mail Notification’ aborted due to exception: 09:38:39 - ERROR: Step ‘E-mail Notification’ aborted due to exception: 09:38:39 - java.lang.ClassNotFoundException: javax.activation.DataSource09:38:39 - at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)09:38:39 - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)09:38:39 - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)09:38:39 - Caused: java.lang.NoClassDefFoundError: javax/activation/DataSource09:38:39 - at jenkins.plugins.mailer.tasks.MimeMessageBuilder.buildMimeMessage(MimeMessageBuilder.java:198)09:38:39 - at hudson.tasks.MailSender.createEmptyMail(MailSender.java:403)09:38:39 - at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:208)09:38:39 - at hudson.tasks.MailSender.createMail(MailSender.java:196)09:38:39 - at hudson.tasks.MailSender.run(MailSender.java:111)09:38:39 - at hudson.tasks.Mailer.perform(Mailer.java:175)09:38:39 - at hudson.tasks.Mailer.perform(Mailer.java:138)09:38:39 - at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)09:38:39 - at hudson.model.Build$BuildExecution.post2(Build.java:186)09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)09:38:39 - at hudson.model.Run.execute(Run.java:1843)09:38:39 - at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)09:38:39 - at hudson.model.ResourceController.execute(ResourceController.java:97)09:38:39 - at hudson.model.Executor.run(Executor.java:429)
          After upgrading to JDK11, the plugin fails with:

           
          {code:java}
          09:38:39 - ERROR: Step ‘E-mail Notification’ aborted due to exception: 09:38:39 - ERROR: Step ‘E-mail Notification’ aborted due to exception: 09:38:39 - java.lang.ClassNotFoundException: javax.activation.DataSource09:38:39 - at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)09:38:39 - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)09:38:39 - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)09:38:39 - Caused: java.lang.NoClassDefFoundError: javax/activation/DataSource09:38:39 - at jenkins.plugins.mailer.tasks.MimeMessageBuilder.buildMimeMessage(MimeMessageBuilder.java:198)09:38:39 - at hudson.tasks.MailSender.createEmptyMail(MailSender.java:403)09:38:39 - at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:208)09:38:39 - at hudson.tasks.MailSender.createMail(MailSender.java:196)09:38:39 - at hudson.tasks.MailSender.run(MailSender.java:111)09:38:39 - at hudson.tasks.Mailer.perform(Mailer.java:175)09:38:39 - at hudson.tasks.Mailer.perform(Mailer.java:138)09:38:39 - at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)09:38:39 - at hudson.model.Build$BuildExecution.post2(Build.java:186)09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)09:38:39 - at hudson.model.Run.execute(Run.java:1843)09:38:39 - at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)09:38:39 - at hudson.model.ResourceController.execute(ResourceController.java:97)09:38:39 - at hudson.model.Executor.run(Executor.java:429){code}
          ianw Ian Williams made changes -
          Description After upgrading to JDK11, the plugin fails with:

           
          {code:java}
          09:38:39 - ERROR: Step ‘E-mail Notification’ aborted due to exception: 09:38:39 - ERROR: Step ‘E-mail Notification’ aborted due to exception: 09:38:39 - java.lang.ClassNotFoundException: javax.activation.DataSource09:38:39 - at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)09:38:39 - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)09:38:39 - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)09:38:39 - Caused: java.lang.NoClassDefFoundError: javax/activation/DataSource09:38:39 - at jenkins.plugins.mailer.tasks.MimeMessageBuilder.buildMimeMessage(MimeMessageBuilder.java:198)09:38:39 - at hudson.tasks.MailSender.createEmptyMail(MailSender.java:403)09:38:39 - at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:208)09:38:39 - at hudson.tasks.MailSender.createMail(MailSender.java:196)09:38:39 - at hudson.tasks.MailSender.run(MailSender.java:111)09:38:39 - at hudson.tasks.Mailer.perform(Mailer.java:175)09:38:39 - at hudson.tasks.Mailer.perform(Mailer.java:138)09:38:39 - at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)09:38:39 - at hudson.model.Build$BuildExecution.post2(Build.java:186)09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)09:38:39 - at hudson.model.Run.execute(Run.java:1843)09:38:39 - at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)09:38:39 - at hudson.model.ResourceController.execute(ResourceController.java:97)09:38:39 - at hudson.model.Executor.run(Executor.java:429){code}
          After upgrading to JDK11, the plugin fails with:

           
          {code:java}
           09:38:39 - ERROR: Step ‘E-mail Notification’ aborted due to exception:
           09:38:39 - ERROR: Step ‘E-mail Notification’ aborted due to exception:
           09:38:39 - java.lang.ClassNotFoundException: javax.activation.DataSource
           09:38:39 - at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
           09:38:39 - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
           09:38:39 - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
           09:38:39 - Caused: java.lang.NoClassDefFoundError: javax/activation/DataSource
           09:38:39 - at jenkins.plugins.mailer.tasks.MimeMessageBuilder.buildMimeMessage(MimeMessageBuilder.java:198)
           09:38:39 - at hudson.tasks.MailSender.createEmptyMail(MailSender.java:403)
           09:38:39 - at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:208)
           09:38:39 - at hudson.tasks.MailSender.createMail(MailSender.java:196)
           09:38:39 - at hudson.tasks.MailSender.run(MailSender.java:111)
           09:38:39 - at hudson.tasks.Mailer.perform(Mailer.java:175)
           09:38:39 - at hudson.tasks.Mailer.perform(Mailer.java:138)
           09:38:39 - at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
           09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
           09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
           09:38:39 - at hudson.model.Build$BuildExecution.post2(Build.java:186)
           09:38:39 - at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
           09:38:39 - at hudson.model.Run.execute(Run.java:1843)
           09:38:39 - at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
           09:38:39 - at hudson.model.ResourceController.execute(ResourceController.java:97)
           09:38:39 - at hudson.model.Executor.run(Executor.java:429){code}
          alecharp Adrien Lecharpentier made changes -
          Labels java11
          batmat Baptiste Mathus made changes -
          Labels java11 java11 triaged
          basil Basil Crow made changes -
          Labels java11 triaged java11 java11-compatibility triaged

            People

            Assignee:
            alecharp Adrien Lecharpentier
            Reporter:
            peterriver Peter River
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: