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

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      jenkins-2.227

      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

            ethorsa ethorsa created issue -
            ethorsa ethorsa made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-60725 [ JENKINS-60725 ]
            ethorsa ethorsa made changes -
            Summary "Added a missed class for missing class telemetry. Class: com.sun.jndi.url.java.javaURLContextFactory" on AdoptOpenJDK1 "Added a missed class for missing class telemetry. Class: com.sun.jndi.url.java.javaURLContextFactory" on AdoptOpenJDK11
            ethorsa ethorsa made changes -
            Description There are a bunch of these cxceptiones in the Jenkins log with a master running on AdoptOpenJDK 11 (follow up to JENKINS-60725).

             
            {noformat}
            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){noformat}
            Master running on AdoptOpenJDK 11 produce warnings related to missing telementry classes. These are found in the jenkins log. Follow up to JENKINS-60725.

             
            {noformat}
            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){noformat}
            mramonleon Ramon Leon made changes -
            Assignee Ramon Leon [ mramonleon ]
            mramonleon Ramon Leon made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            mramonleon Ramon Leon made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            mramonleon Ramon Leon made changes -
            Issue Type Bug [ 1 ] Improvement [ 4 ]
            kz K Z made changes -
            Status In Review [ 10005 ] In Progress [ 3 ]
            mramonleon Ramon Leon made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Fixed but Unreleased [ 10203 ]
            mramonleon Ramon Leon made changes -
            Released As jenkins-2.227
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
            reinholdfuereder Reinhold Füreder made changes -
            Link This issue is related to JENKINS-64456 [ JENKINS-64456 ]
            reinholdfuereder Reinhold Füreder made changes -
            Link This issue is related to JENKINS-64455 [ JENKINS-64455 ]
            mramonleon Ramon Leon made changes -
            Comment [ I've analyzed the stack trace and the missing class looks genuine, I mean, it's not an expected CNFE discarded afterwards. The CNFE happens on the call to [ldapSearch.searchForUser|https://github.com/jenkinsci/ldap-plugin/blob/ab477a19c3f10121c05b72f692d24c15636b426e/src/main/java/hudson/security/LDAPSecurityRealm.java#L1286].

            I assign the ticket to an ldap-plugin maintainer. ]

              People

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

                Dates

                Created:
                Updated:
                Resolved: