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

Exception when deploying first snaspshot into repository

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: Search
    • Labels:
      None

      Description

      Tested in nexus-professional-webapp-1.4.0-20090922.152634-179-bundle.zip.

      I've just seen this twice now on two different systems, running a deploy like the one below on a clean install of Nexus.

      mvn deploy:deploy-file -DgroupId=test -DartifactId=reallybig -Dversion=1.0-SNAPSHOT -Dpackaging=jar -DrepositoryId=foo -Durl=http://localhost:8081/nexus/content/repositories/snapshots -Dfile=reallybig-1.0-SNAPSHOT.jar 
      

      After the deploy I see the following exception in the log. Subsequent deploys do not have this problem.

      2009-09-22 13:15:27 INFO  [qtp-962420767-2] - o.s.n.i.c.IndexCrea~:maven-a~ - Failed to parse Maven artifact /Users/rseddon/nexus/nexus-professional-webapp-1.4.0-SNAPSHOT/bin/jsw/macosx-universal-32/../../../../sonatype-work/nexus/storage/snapshots/test/reallybig/1.0-SNAPSHOT/reallybig-1.0-20090922.201509-1.jar
      java.util.zip.ZipException: error in opening zip file
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:114)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:131)
      	at org.sonatype.nexus.index.creator.MavenArchetypeArtifactInfoIndexCreator.checkMavenArchetype(MavenArchetypeArtifactInfoIndexCreator.java:67)
      	at org.sonatype.nexus.index.creator.MavenArchetypeArtifactInfoIndexCreator.populateArtifactInfo(MavenArchetypeArtifactInfoIndexCreator.java:51)
      	at org.sonatype.nexus.index.ArtifactContext.createDocument(ArtifactContext.java:184)
      	at org.sonatype.nexus.index.DefaultIndexerEngine.update(DefaultIndexerEngine.java:51)
      	at org.sonatype.nexus.index.DefaultNexusIndexer.addArtifactToIndex(DefaultNexusIndexer.java:322)
      	at org.sonatype.nexus.events.RepositoryItemEventInspector.inspectForIndexerManager(RepositoryItemEventInspector.java:228)
      	at org.sonatype.nexus.events.RepositoryItemEventInspector.inspect(RepositoryItemEventInspector.java:83)
      	at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:48)
      	at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:62)
      	at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:55)
      	at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:1003)
      	at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItem(AbstractMavenRepository.java:385)
      	at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:637)
      	at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.storeItem(DefaultRepositoryRouter.java:198)
      	at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.upload(AbstractResourceStoreContentPlexusResource.java:153)
      	at org.sonatype.plexus.rest.resource.RestletResource.upload(RestletResource.java:405)
      	at org.sonatype.plexus.rest.resource.RestletResource.storeRepresentation(RestletResource.java:319)
      	at org.sonatype.nexus.rest.NexusRestletResource.storeRepresentation(NexusRestletResource.java:84)
      	at org.restlet.resource.Resource.put(Resource.java:706)
      	at org.restlet.resource.Resource.handlePut(Resource.java:603)
      	at org.restlet.Finder.handle(Finder.java:359)
      	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.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:820)
      	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      	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:1148)
      	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
      	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:765)
      	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:326)
      	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
      	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
      	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
      	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
      2009-09-22 13:15:27 INFO  [qtp-962420767-2] - o.s.n.s.f.a.NexusSe~          - Successfully authenticated user [deployment] from IP Address 127.0.0.1
      

        Attachments

          Activity

            People

            • Assignee:
              velo Marvin Herman Froeder
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Rich Seddon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:

                Time Tracking

                Estimated:
                Original Estimate - 2h Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3.25h
                3.25h