java.util.zip.ZipException: error in opening zip file

Sonatype JIRA | Rich Seddon | 7 years ago
  1. 0

    When large artifacts are deployed through the artifactory bridge servlet they are truncated. Tested this with deployment of a 99M jar file, size on disk in nexus storage came out as 62M, and the following was seen in the log: {code} 2010-03-04 10:15:09 INFO [qtp-244757954-7] - o.s.n.c.a.NexusConf~ - Applying Nexus Configuration... 2010-03-04 10:15:10 INFO [qtp-244757954-7] - o.s.n.c.v.Applicati~:default - Nexus configuration validated succesfully. 2010-03-04 10:18:06 INFO [qtp-244757954-6] - o.s.n.i.c.IndexCrea~:maven-a~ - Failed to parse Maven artifact /Users/rseddon/nexus-150/nexus-professional-webapp-1.5.0.2/bin/jsw/macosx-universal-32/../../../../sonatype-work/nexus/storage/libs-releases-local/test/project_a/1.2/project_a-1.2.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:68) at org.sonatype.nexus.index.creator.MavenArchetypeArtifactInfoIndexCreator.populateArtifactInfo(MavenArchetypeArtifactInfoIndexCreator.java:52) 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.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:692) at org.sonatype.nexus.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:577) at org.sonatype.nexus.events.IndexerManagerEventInspector.inspectForIndexerManager(IndexerManagerEventInspector.java:68) at org.sonatype.nexus.events.IndexerManagerEventInspector.inspect(IndexerManagerEventInspector.java:54) 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:971) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItem(AbstractMavenRepository.java:375) at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:611) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.storeItem(DefaultRepositoryRouter.java:200) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.upload(AbstractResourceStoreContentPlexusResource.java:168) 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.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.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:173) 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) 2010-03-04 10:18:07 INFO [qtp-244757954-6] - o.s.n.i.c.IndexCrea~:maven-a~ - Failed to parse Maven artifact /Users/rseddon/nexus-150/nexus-professional-webapp-1.5.0.2/bin/jsw/macosx-universal-32/../../../../sonatype-work/nexus/storage/libs-releases-local/test/project_a/1.2/project_a-1.2.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:68) at org.sonatype.nexus.index.creator.MavenArchetypeArtifactInfoIndexCreator.populateArtifactInfo(MavenArchetypeArtifactInfoIndexCreator.java:52) 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.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:692) at org.sonatype.nexus.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:705) at org.sonatype.nexus.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:577) at org.sonatype.nexus.events.IndexerManagerEventInspector.inspectForIndexerManager(IndexerManagerEventInspector.java:68) at org.sonatype.nexus.events.IndexerManagerEventInspector.inspect(IndexerManagerEventInspector.java:54) 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:971) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItem(AbstractMavenRepository.java:375) at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:611) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.storeItem(DefaultRepositoryRouter.java:200) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.upload(AbstractResourceStoreContentPlexusResource.java:168) 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.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.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:173) 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) {code}

    Sonatype JIRA | 7 years ago | Rich Seddon
    java.util.zip.ZipException: error in opening zip file
  2. 0

    This problem existed also in 1.7.0 (but I didn't reported it). I have a proxy for Apache Snapshots. In my logs I have many errors like: {code} 010-07-19 01:36:25 INFO [1256033805-6188] - o.s.n.i.c.MavenPlug~ - Failed to parsing Maven plugin /home/nexus/data/storage/procurement/apache-snapshots/org/apache/maven/plugins/maven-eclipse-plugin/2.9-SNAPSHOT/maven-eclipse-plugin-2.9-20100718.060822-74.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.MavenPluginArtifactInfoIndexCreator.checkMavenPlugin(MavenPluginArtifactInfoIndexCreator.java:81) at org.sonatype.nexus.index.creator.MavenPluginArtifactInfoIndexCreator.populateArtifactInfo(MavenPluginArtifactInfoIndexCreator.java:69) 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:320) at org.sonatype.nexus.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:685) at org.sonatype.nexus.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:698) at org.sonatype.nexus.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:570) at org.sonatype.nexus.events.IndexerManagerEventInspector.inspectForIndexerManager(IndexerManagerEventInspector.java:68) at org.sonatype.nexus.events.IndexerManagerEventInspector.inspect(IndexerManagerEventInspector.java:54) 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.AbstractProxyRepository.doCacheItem(AbstractProxyRepository.java:777) at org.sonatype.nexus.proxy.maven.maven2.M2Repository.doCacheItem(M2Repository.java:223) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveRemoteItem(AbstractProxyRepository.java:1277) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveRemoteItem(AbstractMavenRepository.java:445) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem0(AbstractProxyRepository.java:1000) at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:890) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:393) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:714) at org.sonatype.nexus.proxy.repository.AbstractGroupRepository.doRetrieveItem(AbstractGroupRepository.java:214) at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveItem(M2GroupRepository.java:141) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:714) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:521) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:174) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:151) 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.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: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.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) 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) {code} But the archive is good : {code} $ jar -tvf /home/nexus/data/storage/procurement/apache-snapshots/org/apache/maven/plugins/maven-eclipse-plugin/2.9-SNAPSHOT/maven-eclipse-plugin-2.9-20100718.060822-74.jar 0 Sun Jul 18 00:22:44 UTC 2010 META-INF/ 448 Sun Jul 18 00:22:42 UTC 2010 META-INF/MANIFEST.MF 0 Sun Jul 18 00:22:14 UTC 2010 org/ 0 Sun Jul 18 00:22:14 UTC 2010 org/apache/ 0 Sun Jul 18 00:22:14 UTC 2010 org/apache/maven/ 0 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/ 0 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/ 0 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/ 0 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/myeclipse/ 0 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/rad/ 0 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/workspace/ 0 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/wtp/ 0 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/osgiplugin/ 0 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/reader/ 0 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/ide/ 0 Sun Jul 18 00:22:14 UTC 2010 META-INF/plexus/ 0 Sun Jul 18 00:22:14 UTC 2010 META-INF/maven/ 1210 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/EclipseConfigFile.class 644 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/Constants.class 4404 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/EclipseSourceDir.class 8497 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/RadPlugin.class 7181 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/MyEclipsePlugin.class 5707 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/EclipseOSGiManifestWriter.class 5298 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/myeclipse/MyEclipseSpringBeansWriter.class 4675 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/myeclipse/MyEclipseHibernateWriter.class 858 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/myeclipse/MyEclipseSpringBeansWriter$1.class 4402 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/myeclipse/MyEclipseStrutsDataWriter.class 4449 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/myeclipse/MyEclipseMetadataWriter.class 4370 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/rad/RadLibCopier.class 12159 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/rad/RadApplicationXMLWriter.class 5768 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/rad/RadWebSettingsWriter.class 2479 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/rad/RadWebsiteConfigWriter.class 1065 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/rad/RadEjbClasspathWriter$1.class 4214 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/rad/RadManifestWriter.class 3286 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/rad/RadJ2EEWriter.class 6499 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/rad/RadEjbClasspathWriter.class 5368 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/EclipseManifestWriter.class 3077 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/workspace/EclipseCodeFormatterProfile.class 4818 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/workspace/EclipseWorkspaceWriter.class 438 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/workspace/WorkspaceWriter.class 845 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/AbstractEclipseWriter.class 6122 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/wtp/EclipseWtpComponentWriter.class 13880 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/wtp/EclipseWtpApplicationXMLWriter.class 1394 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/wtp/EclipseWtpComponent15Writer.class 5278 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/wtp/EclipseWtpFacetsWriter.class 6996 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/wtp/AbstractWtpResourceWriter.class 4180 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/wtp/EclipseWtpmodulesWriter.class 5636 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/EclipseAjdtWriter.class 964 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/MonitoredResource.class 10120 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/EclipseProjectWriter.class 1190 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/EclipseWriterConfig$1.class 2842 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/EclipseAntExternalLaunchConfigurationWriter.class 5285 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/EclipseSettingsWriter.class 417 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/EclipseWriter.class 12009 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/EclipseClasspathWriter.class 6712 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/EclipseLaunchConfigurationWriter.class 7305 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/EclipseWriterConfig.class 6804 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/writers/AbstractEclipseManifestWriter.class 1551 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/Messages.class 828 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/MyEclipseCleanMojo.class 9233 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/InstallPluginsMojo.class 32783 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/EclipsePlugin.class 3414 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/RadCleanMojo.class 2708 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/MakeArtifactsMojo.class 3112 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/WorkspaceConfiguration.class 2785 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/RemoveCacheMojo.class 2818 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/EclipseCleanMojo.class 1037 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/AbstractWorkspaceMojo.class 1972 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/ConfigureWorkspaceMojo.class 2440 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/LinkedResource.class 1501 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/AddMavenRepoMojo.class 1041 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/osgiplugin/PackagedPlugin.class 2564 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/osgiplugin/ExplodedPlugin.class 576 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/osgiplugin/EclipseOsgiPlugin.class 2562 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/osgiplugin/AbstractEclipseOsgiPlugin.class 3728 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/BuildCommand.class 15133 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/reader/ReadWorkspaceLocations.class 6462 Sun Jul 18 00:22:14 UTC 2010 org/apache/maven/plugin/eclipse/messages.properties 16425 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/eclipse/EclipseToMavenMojo.class 1519 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/ide/JeeDescriptor.class 13358 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/ide/IdeUtils.class 19989 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/ide/AbstractIdeSupportMojo.class 5197 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/ide/JeeUtils.class 6264 Sun Jul 18 00:22:16 UTC 2010 org/apache/maven/plugin/ide/IdeDependency.class 8357 Sun Jul 18 00:22:14 UTC 2010 META-INF/DEPENDENCIES 1484 Sun Jul 18 00:22:14 UTC 2010 META-INF/plexus/components.xml 177 Sun Jul 18 00:22:14 UTC 2010 META-INF/NOTICE 121220 Sun Jul 18 00:22:14 UTC 2010 META-INF/maven/plugin.xml 11358 Sun Jul 18 00:22:14 UTC 2010 META-INF/LICENSE 0 Sun Jul 18 00:22:44 UTC 2010 META-INF/maven/org.apache.maven.plugins/ 0 Sun Jul 18 00:22:44 UTC 2010 META-INF/maven/org.apache.maven.plugins/maven-eclipse-plugin/ 11270 Mon Jun 21 00:07:26 UTC 2010 META-INF/maven/org.apache.maven.plugins/maven-eclipse-plugin/pom.xml 142 Sun Jul 18 00:22:42 UTC 2010 META-INF/maven/org.apache.maven.plugins/maven-eclipse-plugin/pom.properties {code}

    Sonatype JIRA | 6 years ago | Arnaud Heritier
    java.util.zip.ZipException: error in opening zip file
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    jboss remote deployment failure

    Stack Overflow | 3 years ago
    org.jboss.deployers.spi.DeploymentException: Error determining structure: sample.war
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.zip.ZipException

    error in opening zip file

    at java.util.zip.ZipFile.open()
  2. Java RT
    ZipFile.<init>
    1. java.util.zip.ZipFile.open(Native Method)
    2. java.util.zip.ZipFile.<init>(ZipFile.java:114)
    3. java.util.zip.ZipFile.<init>(ZipFile.java:131)
    3 frames
  3. Sonatype Nexus Indexer
    DefaultIndexerManager.addItemToIndex
    1. org.sonatype.nexus.index.creator.MavenArchetypeArtifactInfoIndexCreator.checkMavenArchetype(MavenArchetypeArtifactInfoIndexCreator.java:68)
    2. org.sonatype.nexus.index.creator.MavenArchetypeArtifactInfoIndexCreator.populateArtifactInfo(MavenArchetypeArtifactInfoIndexCreator.java:52)
    3. org.sonatype.nexus.index.ArtifactContext.createDocument(ArtifactContext.java:184)
    4. org.sonatype.nexus.index.DefaultIndexerEngine.update(DefaultIndexerEngine.java:51)
    5. org.sonatype.nexus.index.DefaultNexusIndexer.addArtifactToIndex(DefaultNexusIndexer.java:322)
    6. org.sonatype.nexus.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:692)
    7. org.sonatype.nexus.index.DefaultIndexerManager.addItemToIndex(DefaultIndexerManager.java:577)
    7 frames
  4. ${project.groupId}:${project.artifactId}
    DefaultEventInspectorHost.onEvent
    1. org.sonatype.nexus.events.IndexerManagerEventInspector.inspectForIndexerManager(IndexerManagerEventInspector.java:68)
    2. org.sonatype.nexus.events.IndexerManagerEventInspector.inspect(IndexerManagerEventInspector.java:54)
    3. org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:48)
    4. org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:62)
    4 frames
  5. ${project.groupId}:${project.artifactId}
    AbstractSimpleEventMulticaster.notifyEventListeners
    1. org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:55)
    1 frame
  6. ${project.groupId}:${project.artifactId}
    DefaultRepositoryRouter.storeItem
    1. org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:971)
    2. org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItem(AbstractMavenRepository.java:375)
    3. org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:611)
    4. org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.storeItem(DefaultRepositoryRouter.java:200)
    4 frames
  7. Nexus Core
    AbstractResourceStoreContentPlexusResource.upload
    1. org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.upload(AbstractResourceStoreContentPlexusResource.java:168)
    1 frame
  8. ${project.groupId}:${project.artifactId}
    RestletResource.storeRepresentation
    1. org.sonatype.plexus.rest.resource.RestletResource.upload(RestletResource.java:405)
    2. org.sonatype.plexus.rest.resource.RestletResource.storeRepresentation(RestletResource.java:319)
    2 frames
  9. Nexus Core
    NexusRestletResource.storeRepresentation
    1. org.sonatype.nexus.rest.NexusRestletResource.storeRepresentation(NexusRestletResource.java:84)
    1 frame
  10. org.restlet.resource
    Resource.handlePut
    1. org.restlet.resource.Resource.put(Resource.java:706)
    2. org.restlet.resource.Resource.handlePut(Resource.java:603)
    2 frames
  11. org.restlet
    Filter.doHandle
    1. org.restlet.Finder.handle(Finder.java:359)
    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
  12. ${project.groupId}:${project.artifactId}
    RetargetableRestlet.doHandle
    1. org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)
    1 frame
  13. 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
  14. com.noelios.restlet
    StatusFilter.doHandle
    1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
    1 frame
  15. 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
  16. 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
  17. org.restlet
    Application.handle
    1. org.restlet.Application.handle(Application.java:341)
    1 frame
  18. org.restlet.ext
    WadlApplication.handle
    1. org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705)
    1 frame
  19. 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
  20. com.noelios.restlet
    ChainHelper.handle
    1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
    1 frame
  21. org.restlet
    Server.handle
    1. org.restlet.Component.handle(Component.java:673)
    2. org.restlet.Server.handle(Server.java:331)
    2 frames
  22. 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:881)
    3 frames
  23. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    1 frame
  24. 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:1157)
    2 frames
  25. org.jsecurity.web
    OncePerRequestFilter.doFilter
    1. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:173)
    1 frame
  26. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
    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:765)
    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:326)
    10. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    11. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
    12. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
    13. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
    14. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    15. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    15 frames
  27. Jetty Util
    QueuedThreadPool$PoolThread.run
    1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
    1 frame