Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-3814

Nexus Crowd Plugin 1.6.0 - Nexus OSS 1.8.0: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/Collections

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: Crowd
    • Labels:
      None

      Description

      Upgrading a Nexus 1.4.0 OSS deployment to Nexus 1.8.0 OSS deployment caused the following exceptions to be raised in the wrapper.log when attempts to authenticate or authorise user credentials against Crowd were made:

      2010-09-30 09:34:26 INFO  [http-8080-5    ] - c.a.c.i.s.s.c.Secur~          - Existing application token is null, authenticating ...
      2010-09-30 09:34:27 INFO  [http-8080-5    ] - c.a.c.i.s.s.c.Secur~          - Using existing token: REDACTED
      2010-09-30 09:34:32 ERROR [http-8080-5    ] - o.s.n.r.NexusApplic~          - Unhandled exception or error intercepted
      java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/Collections
              at org.sonatype.nexus.plugins.crowd.client.CrowdAuthorizationManager.listPrivileges(CrowdAuthorizationManager.java:118)
              at org.sonatype.security.DefaultSecuritySystem.listPrivileges(DefaultSecuritySystem.java:263)
              at org.sonatype.security.rest.authentication.AbstractUIPermissionCalculatingPlexusResource.getClientPermissionsForCurrentUser(AbstractUIPermissionCalculatingPlexusResource.java:117)
              at org.sonatype.security.rest.authentication.AbstractLoginPlexusResource.get(AbstractLoginPlexusResource.java:55)
              at org.sonatype.nexus.rest.authentication.NexusLogingPlexusResource.get(NexusLogingPlexusResource.java:47)
              at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:276)
              at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34)
              at org.restlet.resource.Resource.getRepresentation(Resource.java:302)
              at org.restlet.resource.Resource.handleGet(Resource.java:464)
              at org.restlet.Finder.handle(Finder.java:353)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Router.handle(Router.java:504)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Router.handle(Router.java:504)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
              at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
              at org.restlet.Application.handle(Application.java:341)
              at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Router.handle(Router.java:504)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Router.handle(Router.java:504)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
              at org.restlet.Component.handle(Component.java:673)
              at org.restlet.Server.handle(Server.java:331)
              at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
              at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
              at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
              at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
              at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
              at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
              at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
              at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
              at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
              at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
              at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
              at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
              at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34)
              at org.restlet.resource.Resource.getRepresentation(Resource.java:302)
              at org.restlet.resource.Resource.handleGet(Resource.java:464)
              at org.restlet.Finder.handle(Finder.java:353)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Router.handle(Router.java:504)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Router.handle(Router.java:504)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
              at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
              at org.restlet.Application.handle(Application.java:341)
              at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Router.handle(Router.java:504)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at org.restlet.Router.handle(Router.java:504)
              at org.restlet.Filter.doHandle(Filter.java:150)
              at org.restlet.Filter.handle(Filter.java:195)
              at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
              at org.restlet.Component.handle(Component.java:673)
              at org.restlet.Server.handle(Server.java:331)
              at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
              at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
              at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
              at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
              at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
              at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
              at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
              at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
              at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
              at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
              at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
              at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
              at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
              at java.lang.Thread.run(Thread.java:619)
      

      This class was previously provided by nexus-webapp-1.4.0/exploded_war/WEB-INF/lib/backport-util-concurrent-3.1.jar.

      Inspecting all classes bundled in JARs provided by both nexus-webapp-1.8.0.war & nexus-crowd-plugin-1.6.0-bundle.zip indicate this class does not exist.

        Attachments

          Activity

            People

            Assignee:
            justinedelson Justin Edelson
            Reporter:
            atlassian-01 Atlassian
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title