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

ClassNotFound: java.sql.Date in JDK 11 in Pipeline Utility Steps

    Details

    • Similar Issues:
    • Released As:
      pipeline-utility-steps-2.3.0

      Description

      https://github.com/search?q=org%3Ajenkinsci+%22java.sql.Date%22&type=Code 

      In my case I hit it in Pipeline Utility Steps AFAICT

       

      Exception in thread "main" java.lang.NoClassDefFoundError: java.sql.Date 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:5191) at hudson.PluginManager.<clinit>(PluginManager.java:1962) at org.jvnet.hudson.test.JenkinsRule.<init>(JenkinsRule.java:325) at io.jenkins.jenkinsfile.runner.JenkinsfileRunnerRule.<init>(JenkinsfileRunnerRule.java:40) at io.jenkins.jenkinsfile.runner.App.run(App.java:18) at io.jenkins.jenkinsfile.runner.bootstrap.Bootstrap.run(Bootstrap.java:166) at io.jenkins.jenkinsfile.runner.bootstrap.Bootstrap.main(Bootstrap.java:68)
      

        Attachments

          Issue Links

            Activity

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Epic Link JENKINS-40689 [ 177392 ]
            oleg_nenashev Oleg Nenashev made changes -
            Description [https://github.com/search?q=org%3Ajenkinsci+%22java.sql.Date%22&type=Code

            In my case I hit it in Pipeline Utility Steps AFAICT
            [https://github.com/search?q=org%3Ajenkinsci+%22java.sql.Date%22&type=Code

            In my case I hit it in Pipeline Utility Steps AFAICT

             
            {code:java}
            Exception in thread "main" java.lang.NoClassDefFoundError: java.sql.Date 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:5191) at hudson.PluginManager.<clinit>(PluginManager.java:1962) at org.jvnet.hudson.test.JenkinsRule.<init>(JenkinsRule.java:325) at io.jenkins.jenkinsfile.runner.JenkinsfileRunnerRule.<init>(JenkinsfileRunnerRule.java:40) at io.jenkins.jenkinsfile.runner.App.run(App.java:18) at io.jenkins.jenkinsfile.runner.bootstrap.Bootstrap.run(Bootstrap.java:166) at io.jenkins.jenkinsfile.runner.bootstrap.Bootstrap.main(Bootstrap.java:68)
            {code}
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue relates to JENKINS-54426 [ JENKINS-54426 ]
            oleg_nenashev Oleg Nenashev made changes -
            Summary ClassNotFound: java.sql.Date in JDK 11 ClassNotFound: java.sql.Date in JDK 11 in Pipeline Utility Steps
            oleg_nenashev Oleg Nenashev made changes -
            Component/s core [ 15593 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels java11-compatibility
            oleg_nenashev Oleg Nenashev made changes -
            Assignee rsandell [ rsandell ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue relates to JENKINS-54957 [ JENKINS-54957 ]
            batmat Baptiste Mathus made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            batmat Baptiste Mathus made changes -
            Labels java11-compatibility java11-compatibility triaged
            alecharp Adrien Lecharpentier made changes -
            Assignee Adrien Lecharpentier [ alecharp ]
            alecharp Adrien Lecharpentier made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            alecharp Adrien Lecharpentier made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            alecharp Adrien Lecharpentier made changes -
            Remote Link Cette demande est liée à "pipeline-utility-steps#PR-55 (Lien Web)" [ 22169 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Released As pipeline-utility-steps-2.3.0

              People

              • Assignee:
                alecharp Adrien Lecharpentier
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: