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

"Added a missed class for missing class telemetry. Class: com.sun.jndi.ldap.obj.MarshalledToObject" on AdoptOpenJDK11

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      (Filed on request of Ramon Leon due to comment https://issues.jenkins.io/browse/JENKINS-61521?focusedCommentId=402411&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-402411)

      Jenkins Controller (without agents) running on AdoptOpenJDK 11 produce warnings related to missing telementry classes. These are found in the jenkins log.

      2020-12-15 10:01:07.715+0000 [id=18]    WARNING j.t.i.j.MissingClassTelemetry#reportException: Added a missed class for missing class telemetry. Class: com.sun.jndi.ldap.obj.MarshalledToObject
      java.lang.ClassNotFoundException: com.sun.jndi.ldap.obj.MarshalledToObject
              at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1387)
              at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1342)
              at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1089)
              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
              at java.base/java.lang.Class.forName0(Native Method)
              at java.base/java.lang.Class.forName(Class.java:398)
              at java.naming/com.sun.naming.internal.VersionHelper.loadClass(VersionHelper.java:123)
              at java.naming/com.sun.naming.internal.ResourceManager.getFactories(ResourceManager.java:308)
              at java.naming/javax.naming.spi.DirectoryManager.createObjectFromFactories(DirectoryManager.java:223)
              at java.naming/javax.naming.spi.DirectoryManager.getObjectInstance(DirectoryManager.java:214)
              at java.naming/com.sun.jndi.ldap.LdapSearchEnumeration.createItem(LdapSearchEnumeration.java:139)
              at java.naming/com.sun.jndi.ldap.LdapSearchEnumeration.createItem(LdapSearchEnumeration.java:41)
              at java.naming/com.sun.jndi.ldap.AbstractLdapNamingEnumeration.nextAux(AbstractLdapNamingEnumeration.java:269)
              at java.naming/com.sun.jndi.ldap.AbstractLdapNamingEnumeration.nextImpl(AbstractLdapNamingEnumeration.java:249)
              at java.naming/com.sun.jndi.ldap.AbstractLdapNamingEnumeration.next(AbstractLdapNamingEnumeration.java:203)
              at java.naming/com.sun.jndi.ldap.AbstractLdapNamingEnumeration.next(AbstractLdapNamingEnumeration.java:40)
              at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntryInternal(SpringSecurityLdapTemplate.java:278)
              at org.springframework.security.ldap.SpringSecurityLdapTemplate.lambda$searchForSingleEntry$3(SpringSecurityLdapTemplate.java:260)
              at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:817)
              at org.springframework.ldap.core.LdapTemplate.executeReadOnly(LdapTemplate.java:803)
              at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleEntry(SpringSecurityLdapTemplate.java:260)
              at org.springframework.security.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:100)
              at hudson.security.LDAPSecurityRealm$LDAPUserDetailsService.loadUserByUsername(LDAPSecurityRealm.java:1286)
              at hudson.security.LDAPSecurityRealm$DelegateLDAPUserDetailsService.loadUserByUsername(LDAPSecurityRealm.java:1227)
              at jenkins.security.ImpersonatingUserDetailsService2.loadUserByUsername(ImpersonatingUserDetailsService2.java:29)
              at org.springframework.security.web.authentication.rememberme.TokenBasedRememberMeServices.processAutoLoginCookie(TokenBasedRememberMeServices.java:104)
              at hudson.security.TokenBasedRememberMeServices2.processAutoLoginCookie(TokenBasedRememberMeServices2.java:166)
              at org.springframework.security.web.authentication.rememberme.AbstractRememberMeServices.autoLogin(AbstractRememberMeServices.java:133)
              at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:104)
              at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:92)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:218)
              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
              at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
              at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
              at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
              at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:62)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97)
              at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:109)
              at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
              at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:51)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
              at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
              at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
              at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:561)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
              at org.eclipse.jetty.server.Server.handle(Server.java:516)
              at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
              at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556)
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
              at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
              at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
              at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
              at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
              at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
              at java.base/java.lang.Thread.run(Thread.java:834)
      

        Attachments

          Issue Links

            Activity

            Hide
            mramonleon Ramon Leon added a 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.

            I assign the ticket to an ldap-plugin maintainer.

            Show
            mramonleon Ramon Leon added a 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 . I assign the ticket to an ldap-plugin maintainer.
            Hide
            mramonleon Ramon Leon added a comment -

            Reinhold Füreder is the instance working well? did you find any issue?

            Show
            mramonleon Ramon Leon added a comment - Reinhold Füreder  is the instance working well? did you find any issue?
            Hide
            reinholdfuereder Reinhold Füreder added a comment -

            Thanks Ramon Leon: well, it is just a rather small test instance, but it seems to work fine

            Show
            reinholdfuereder Reinhold Füreder added a comment - Thanks Ramon Leon : well, it is just a rather small test instance, but it seems to work fine

              People

              Assignee:
              rsandell rsandell
              Reporter:
              reinholdfuereder Reinhold Füreder
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: