org.sonatype.nexus.proxy.StorageException: Got MetadataException during M2 metadata merging.

Sonatype JIRA | Alan D. Cabrera | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    While building I get: [INFO] artifact com.lowagie:itext: checking for updates from picateers-dist-m2 [WARNING] repository metadata for: 'artifact com.lowagie:itext' could not be retrieved from repository: picateers-dist-m2 due to an error: Error transferring file [INFO] Repository 'picateers-dist-m2' will be blacklisted On my nexus server I get: INFO | jvm 1 | 2009/07/24 10:13:53 | 2009-07-24 10:13:53 ERROR - o.s.p.r.r.ManagedPl~:content - IO error! INFO | jvm 1 | 2009/07/24 10:13:53 | org.sonatype.nexus.proxy.StorageException: Got MetadataException during M2 metadata merging. INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveMetadata(M2GroupRepository.java:227) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveItem(M2GroupRepository.java:92) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:796) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:603) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:117) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:122) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:260) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.resource.Resource.getRepresentation(Resource.java:303) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.resource.Resource.handleGet(Resource.java:465) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Finder.handle(Finder.java:353) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Router.handle(Router.java:504) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Application.handle(Application.java:341) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Router.handle(Router.java:504) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Router.handle(Router.java:504) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Component.handle(Component.java:673) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Server.handle(Server.java:331) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:884) INFO | jvm 1 | 2009/07/24 10:13:53 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) INFO | jvm 1 | 2009/07/24 10:13:53 | Caused by: INFO | jvm 1 | 2009/07/24 10:13:53 | org.apache.maven.mercury.repository.metadata.MetadataException: Could not merge metadata with different groupId: 'itext' and 'com.lowagie' INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.maven.metadata.mercury.MergeOperation.perform(MergeOperation.java:123) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.apache.maven.mercury.repository.metadata.MetadataBuilder.changeMetadata(MetadataBuilder.java:200) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveMetadata(M2GroupRepository.java:185) INFO | jvm 1 | 2009/07/24 10:13:53 | ... 76 more

    Sonatype JIRA | 8 years ago | Alan D. Cabrera
    org.sonatype.nexus.proxy.StorageException: Got MetadataException during M2 metadata merging.

    Root Cause Analysis

    1. org.sonatype.nexus.proxy.StorageException

      Got MetadataException during M2 metadata merging.

      at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveMetadata()
    2. ${project.groupId}:${project.artifactId}
      DefaultRepositoryRouter.retrieveItem
      1. org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveMetadata(M2GroupRepository.java:227)
      2. org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveItem(M2GroupRepository.java:92)
      3. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:796)
      4. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:603)
      5. org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:117)
      5 frames
    3. Nexus Core
      AbstractResourceStoreContentPlexusResource.get
      1. org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:122)
      1 frame
    4. ${project.groupId}:${project.artifactId}
      RestletResource.represent
      1. org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:260)
      1 frame
    5. org.restlet.resource
      Resource.handleGet
      1. org.restlet.resource.Resource.getRepresentation(Resource.java:303)
      2. org.restlet.resource.Resource.handleGet(Resource.java:465)
      2 frames
    6. org.restlet
      Filter.doHandle
      1. org.restlet.Finder.handle(Finder.java:353)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      4. org.restlet.Filter.doHandle(Filter.java:150)
      5. org.restlet.Filter.handle(Filter.java:195)
      6. org.restlet.Router.handle(Router.java:504)
      7. org.restlet.Filter.doHandle(Filter.java:150)
      8. org.restlet.Filter.handle(Filter.java:195)
      9. org.restlet.Filter.doHandle(Filter.java:150)
      9 frames
    7. ${project.groupId}:${project.artifactId}
      RetargetableRestlet.doHandle
      1. org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)
      1 frame
    8. org.restlet
      Filter.doHandle
      1. org.restlet.Filter.handle(Filter.java:195)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      4. org.restlet.Filter.doHandle(Filter.java:150)
      5. org.restlet.Filter.handle(Filter.java:195)
      6. org.restlet.Filter.doHandle(Filter.java:150)
      6 frames
    9. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
      1 frame
    10. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:195)
      2. org.restlet.Filter.doHandle(Filter.java:150)
      3. org.restlet.Filter.handle(Filter.java:195)
      3 frames
    11. com.noelios.restlet
      ApplicationHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      2. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
      2 frames
    12. org.restlet
      Application.handle
      1. org.restlet.Application.handle(Application.java:341)
      1 frame
    13. org.restlet.ext
      WadlApplication.handle
      1. org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705)
      1 frame
    14. org.restlet
      Filter.handle
      1. org.restlet.Filter.doHandle(Filter.java:150)
      2. org.restlet.Filter.handle(Filter.java:195)
      3. org.restlet.Router.handle(Router.java:504)
      4. org.restlet.Filter.doHandle(Filter.java:150)
      5. org.restlet.Filter.handle(Filter.java:195)
      6. org.restlet.Router.handle(Router.java:504)
      7. org.restlet.Filter.doHandle(Filter.java:150)
      8. org.restlet.Filter.handle(Filter.java:195)
      8 frames
    15. com.noelios.restlet
      ChainHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      1 frame
    16. org.restlet
      Server.handle
      1. org.restlet.Component.handle(Component.java:673)
      2. org.restlet.Server.handle(Server.java:331)
      2 frames
    17. com.noelios.restlet
      ServerServlet.service
      1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
      2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
      3. com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:884)
      3 frames
    18. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    19. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
      2 frames
    20. org.jsecurity.web
      OncePerRequestFilter.doFilter
      1. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
      2. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
      3. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
      4. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      5. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
      6. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
      7. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
      8. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      9. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
      10. org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
      11. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      11 frames
    21. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      8. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      9. org.mortbay.jetty.Server.handle(Server.java:324)
      10. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      11. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
      12. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
      13. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
      14. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
      15. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      15 frames
    22. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
      1 frame