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

"Added a missed class for missing class telemetry. Class: com.sun.jndi.url.java.javaURLContextFactory" on AdoptOpenJDK11

    Details

    • Similar Issues:

      Description

      Master running on AdoptOpenJDK 11 produce warnings related to missing telementry classes. These are found in the jenkins log. Follow up to JENKINS-60725.

       

      WARNING jenkins.telemetry.impl.java11.MissingClassTelemetry reportExceptionAdded a missed class for missing class telemetry. Class: com.sun.jndi.url.java.javaURLContextFactory
      java.lang.ClassNotFoundException: com.sun.jndi.url.java.javaURLContextFactory
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1383)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1336)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1083)
      	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
      	at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch4(RemoteClassLoader.java:846)
      	at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch3(RemoteClassLoader.java:889)
      	at jdk.internal.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)
      	at hudson.remoting.Request$2.run(Request.java:369)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      	at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18)
      	at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
      	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      	at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at java.base/java.lang.Thread.run(Thread.java:834)

        Attachments

          Issue Links

            Activity

            Hide
            ethorsa ethorsa added a comment -
            Show
            ethorsa ethorsa added a comment - CC Ramon Leon
            Hide
            danielbeck Daniel Beck added a comment -

            What's the bug being reported here?

            Show
            danielbeck Daniel Beck added a comment - What's the bug being reported here?
            Hide
            ethorsa ethorsa added a comment -

            Running a Jenkins Master causes a bunch of exceptions related to missing classes in the Jenkins log. But good point, there should be more information in the first post.

            Show
            ethorsa ethorsa added a comment - Running a Jenkins Master causes a bunch of exceptions related to missing classes in the Jenkins log. But good point, there should be more information in the first post.
            Hide
            mramonleon Ramon Leon added a comment -

            ethorsa You can see here the exception thrown is ignored: https://github.com/jenkinsci/remoting/blob/33b2847e389c4ee63e21ec0a259c89bec6dfe42d/src/main/java/hudson/remoting/RemoteClassLoader.java#L906

            So it's safe to ignore it as well on our telemetry gathering. Thank you for your feedback, it helps us make sure Jenkins is Java11 compatible.

            PR: https://github.com/jenkinsci/jenkins/pull/4595

            Show
            mramonleon Ramon Leon added a comment - ethorsa You can see here the exception thrown is ignored: https://github.com/jenkinsci/remoting/blob/33b2847e389c4ee63e21ec0a259c89bec6dfe42d/src/main/java/hudson/remoting/RemoteClassLoader.java#L906 So it's safe to ignore it as well on our telemetry gathering. Thank you for your feedback, it helps us make sure Jenkins is Java11 compatible. PR : https://github.com/jenkinsci/jenkins/pull/4595
            Hide
            foundation_security_members CloudBees Foundation Security added a comment -

            K Z Why did you put back the ticket to in progress status? Thanks

            Show
            foundation_security_members CloudBees Foundation Security added a comment - K Z Why did you put back the ticket to in progress status? Thanks
            Hide
            ethorsa ethorsa added a comment -

            Thanks Ramon Leon

            Show
            ethorsa ethorsa added a comment - Thanks Ramon Leon

              People

              • Assignee:
                mramonleon Ramon Leon
                Reporter:
                ethorsa ethorsa
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: