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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Alan D. Cabrera,
    • org.sonatype.nexus.proxy.StorageException: Got MetadataException during M2 metadata merging. at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveMetadata(M2GroupRepository.java:227) at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveItem(M2GroupRepository.java:92) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:796) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:603) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:117) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:122) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:260) at org.restlet.resource.Resource.getRepresentation(Resource.java:303) at org.restlet.resource.Resource.handleGet(Resource.java:465) 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.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:884) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124) 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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
    No Bugmate found.