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

"Added a missed class for missing class telemetry" on AdoptOpenJDK 11

    Details

    • Similar Issues:
    • Released As:
      2,217

      Description

      Since the update to Java 11 (using AdoptOpenJDK 11.0.4) there are some warnings according to missing telemetry classes in the log:

       

      WARNING	j.t.i.j.MissingClassTelemetry#reportException: Added a missed class for missing class telemetry. Class: com.sun.faces.application.ActionListenerImpl
      java.lang.ClassNotFoundException: com.sun.faces.application.ActionListenerImpl
      [...]
      WARNING	j.t.i.j.MissingClassTelemetry#reportException: Added a missed class for missing class telemetry. Class: com.sun.jndi.url.java.javaURLContextFactory
      java.lang.ClassNotFoundException: com.sun.jndi.url.java.javaURLContextFactory
      [...]
      WARNING	j.t.i.j.MissingClassTelemetry#reportException: Added a missed class for missing class telemetry. Class: com.sun.jndi.url.java.javaURLContextFactory
      java.lang.ClassNotFoundException: com.sun.jndi.url.java.javaURLContextFactory
      [...]
      

      The one related to javaURLContextFactory appears several times

       

      Use statistics is disabled in the global configuration (that's telemetry?)

        Attachments

          Issue Links

            Activity

            Hide
            ethorsa ethorsa added a comment -

            Thanks for this fast fix Ramon Leon!

            Show
            ethorsa ethorsa added a comment - Thanks for this fast fix Ramon Leon !
            Hide
            hazim Hazim Malik added a comment -

            Thanks for the quick response and fix Ramon Leon

            Show
            hazim Hazim Malik added a comment - Thanks for the quick response and fix Ramon Leon
            Hide
            git Thomas Gimpel added a comment -

            Running on 2.204.5 we still get these warnings:

            Added 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.GeneratedMethodAccessor68.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)
            

             

            Show
            git Thomas Gimpel added a comment - Running on 2.204.5 we still get these warnings: Added 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.GeneratedMethodAccessor68.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)  
            Hide
            ethorsa ethorsa added a comment -

            I get the same warnings on 2.204.5.

            Show
            ethorsa ethorsa added a comment - I get the same warnings on 2.204.5.
            Hide
            mramonleon Ramon Leon added a comment - - edited

            The one fixed by the PR is related to javamelody, if you don't mind, please file a new ticket with a single stack trace to keep track of the issue and file a new PR to fix it if needed. You can assign it to me.

            In any case, it's not something to worry about, just to be sure Jenkins goes well on Java 11, although better to remove from logs.

            Thank you!

            Show
            mramonleon Ramon Leon added a comment - - edited The one fixed by the PR is related to javamelody , if you don't mind, please file a new ticket with a single stack trace to keep track of the issue and file a new PR to fix it if needed. You can assign it to me. In any case, it's not something to worry about, just to be sure Jenkins goes well on Java 11, although better to remove from logs. Thank you!

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: