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

Linux agent installer does not work on Java 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • core

      While testing JENKINS-57071 I noticed that the installers do not work at all when the agent is run on Java 11:

      SEVERE: Failed to load Jenkins.class
      java.lang.NoClassDefFoundError: Bootstrap pseudo-classloader disabled: java.sql.Date via null
              at org.apache.commons.beanutils.ConvertUtilsBean.class$(ConvertUtilsBean.java:157)
              at org.apache.commons.beanutils.ConvertUtilsBean.registerOther(ConvertUtilsBean.java:708)
              at org.apache.commons.beanutils.ConvertUtilsBean.deregister(ConvertUtilsBean.java:580)
              at org.apache.commons.beanutils.ConvertUtilsBean.<init>(ConvertUtilsBean.java:164)
              at org.kohsuke.stapler.Stapler.<clinit>(Stapler.java:1065)
              at hudson.model.Node$Mode.<clinit>(Node.java:597)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at java.base/java.lang.Class.getEnumConstantsShared(Class.java:3554)
              at java.base/java.lang.Class.getEnumConstants(Class.java:3530)
              at jenkins.model.Jenkins.<clinit>(Jenkins.java:5248)
              at hudson.model.Computer.<clinit>(Computer.java:1772)
              at hudson.os.SU$UnixSu.start(SU.java:166)
              at hudson.os.SU.start(SU.java:97)
              at hudson.os.SU.execute(SU.java:128)
              at org.jenkinsci.modules.systemd_slave_installer.SystemdSlaveInstaller.install(SystemdSlaveInstaller.java:48)
              at org.jenkinsci.modules.slave_installer.impl.InstallerGui$1$1$1.run(InstallerGui.java:108)
      

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: