org.sonatype.nexus.proxy.LocalStorageException: Got exception during storing on path "releases:/com/abc/policystudio/flowchart/com.abc.policystudio.flowchart.property.api/3.0.0/com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1" (while moving to final destination)

Sonatype JIRA | Haresh | 4 years ago
  1. 0

    Getting the below exception while using REST API for uploading artifacts that are already present in the repository. The "Allow Redeploy" has been set to true. Also, this exception does not occur every time. It fails randomly. I have seen it occur on all Windows OS. jvm 1 | 2013-04-30 19:24:03 ERROR [qtp159257116-92] - org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer - Rename operation failed after 0 retries in 0 ms intervals C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1nx-tmp5777127781522975345.nx-upload --> C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1 jvm 1 | 2013-04-30 19:24:03 WARN [qtp159257116-92] - org.sonatype.nexus.rest.artifact.ArtifactContentPlexusResource - IO problem! jvm 1 | org.sonatype.nexus.proxy.LocalStorageException: Got exception during storing on path "releases:/com/abc/policystudio/flowchart/com.abc.policystudio.flowchart.property.api/3.0.0/com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1" (while moving to final destination) jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:168) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.storeItem(DefaultFSLocalRepositoryStorage.java:362) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:1081) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItem(AbstractMavenRepository.java:402) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.maven.ArtifactStoreHelper.storeItemWithChecksums(ArtifactStoreHelper.java:93) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItemWithChecksums(AbstractMavenRepository.java:334) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.maven.ArtifactStoreHelper.storeArtifactWithGeneratedPom(ArtifactStoreHelper.java:470) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.rest.artifact.AbstractArtifactPlexusResource.upload(AbstractArtifactPlexusResource.java:456) ~[nexus-rest-api-2.2-01.jar:na] jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.upload(RestletResource.java:383) [plexus-restlet-bridge-1.22.jar:na] jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:279) [plexus-restlet-bridge-1.22.jar:na] jvm 1 | at org.sonatype.nexus.rest.NexusRestletResource.acceptRepresentation(NexusRestletResource.java:71) [nexus-rest-api-2.2-01.jar:na] jvm 1 | at org.restlet.resource.Resource.post(Resource.java:688) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.resource.Resource.handlePost(Resource.java:537) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Finder.handle(Finder.java:357) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) [plexus-restlet-bridge-1.22.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Application.handle(Application.java:341) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Component.handle(Component.java:673) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Server.handle(Server.java:331) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) [com.noelios.restlet.ext.servlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) [javax.servlet-api-3.0.1.jar:3.0.1] jvm 1 | at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:278) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:268) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:180) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:84) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:169) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:81) [guice-servlet-3.1.1.jar:na] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:380) [shiro-core-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:164) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:81) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.1.jar:na] jvm 1 | at org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:88) [nexus-web-utils-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:58) [nexus-web-utils-2.2-01.jar:na] jvm 1 | at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:126) [guice-servlet-3.1.1.jar:na] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1338) [jetty-servlet-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484) [jetty-servlet-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-security-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) [jetty-servlet-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.Server.handle(Server.java:350) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:900) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:954) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:851) [jetty-http-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) [jetty-io-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) [jetty-io-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.sonatype.sisu.jetty.thread.RunnableWrapper.run(RunnableWrapper.java:26) [sisu-jetty8-1.3.jar:na] jvm 1 | at java.lang.Thread.run(Unknown Source) [na:1.6.0_43] jvm 1 | Caused by: java.io.IOException: Cannot rename file "C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1nx-tmp5777127781522975345.nx-upload" to "C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1"! Message: Failed to delete C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1 while trying to rename C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1nx-tmp5777127781522975345.nx-upload jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.handleRenameOperation(DefaultFSPeer.java:463) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:136) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | ... 109 common frames omitted jvm 1 | Caused by: java.io.IOException: Failed to delete C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1 while trying to rename C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1nx-tmp5777127781522975345.nx-upload jvm 1 | at org.codehaus.plexus.util.FileUtils.rename(FileUtils.java:2128) ~[plexus-utils-3.0.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.handleRenameOperation(DefaultFSPeer.java:454) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | ... 110 common frames omitted

    Sonatype JIRA | 4 years ago | Haresh
    org.sonatype.nexus.proxy.LocalStorageException: Got exception during storing on path "releases:/com/abc/policystudio/flowchart/com.abc.policystudio.flowchart.property.api/3.0.0/com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1" (while moving to final destination)
  2. 0

    Getting the below exception while using REST API for uploading artifacts that are already present in the repository. The "Allow Redeploy" has been set to true. Also, this exception does not occur every time. It fails randomly. I have seen it occur on all Windows OS. jvm 1 | 2013-04-30 19:24:03 ERROR [qtp159257116-92] - org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer - Rename operation failed after 0 retries in 0 ms intervals C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1nx-tmp5777127781522975345.nx-upload --> C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1 jvm 1 | 2013-04-30 19:24:03 WARN [qtp159257116-92] - org.sonatype.nexus.rest.artifact.ArtifactContentPlexusResource - IO problem! jvm 1 | org.sonatype.nexus.proxy.LocalStorageException: Got exception during storing on path "releases:/com/abc/policystudio/flowchart/com.abc.policystudio.flowchart.property.api/3.0.0/com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1" (while moving to final destination) jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:168) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.storeItem(DefaultFSLocalRepositoryStorage.java:362) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:1081) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItem(AbstractMavenRepository.java:402) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.maven.ArtifactStoreHelper.storeItemWithChecksums(ArtifactStoreHelper.java:93) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItemWithChecksums(AbstractMavenRepository.java:334) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.maven.ArtifactStoreHelper.storeArtifactWithGeneratedPom(ArtifactStoreHelper.java:470) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.rest.artifact.AbstractArtifactPlexusResource.upload(AbstractArtifactPlexusResource.java:456) ~[nexus-rest-api-2.2-01.jar:na] jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.upload(RestletResource.java:383) [plexus-restlet-bridge-1.22.jar:na] jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:279) [plexus-restlet-bridge-1.22.jar:na] jvm 1 | at org.sonatype.nexus.rest.NexusRestletResource.acceptRepresentation(NexusRestletResource.java:71) [nexus-rest-api-2.2-01.jar:na] jvm 1 | at org.restlet.resource.Resource.post(Resource.java:688) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.resource.Resource.handlePost(Resource.java:537) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Finder.handle(Finder.java:357) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) [plexus-restlet-bridge-1.22.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Application.handle(Application.java:341) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Component.handle(Component.java:673) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Server.handle(Server.java:331) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) [com.noelios.restlet.ext.servlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) [javax.servlet-api-3.0.1.jar:3.0.1] jvm 1 | at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:278) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:268) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:180) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:84) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:169) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:81) [guice-servlet-3.1.1.jar:na] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:380) [shiro-core-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.0.jar:1.2.0] jvm 1 | at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:164) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:81) [guice-servlet-3.1.1.jar:na] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.1.jar:na] jvm 1 | at org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:88) [nexus-web-utils-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:58) [nexus-web-utils-2.2-01.jar:na] jvm 1 | at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:126) [guice-servlet-3.1.1.jar:na] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1338) [jetty-servlet-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484) [jetty-servlet-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-security-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) [jetty-servlet-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.Server.handle(Server.java:350) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:900) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:954) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:851) [jetty-http-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) [jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) [jetty-io-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) [jetty-io-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) [jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416] jvm 1 | at org.sonatype.sisu.jetty.thread.RunnableWrapper.run(RunnableWrapper.java:26) [sisu-jetty8-1.3.jar:na] jvm 1 | at java.lang.Thread.run(Unknown Source) [na:1.6.0_43] jvm 1 | Caused by: java.io.IOException: Cannot rename file "C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1nx-tmp5777127781522975345.nx-upload" to "C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1"! Message: Failed to delete C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1 while trying to rename C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1nx-tmp5777127781522975345.nx-upload jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.handleRenameOperation(DefaultFSPeer.java:463) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:136) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | ... 109 common frames omitted jvm 1 | Caused by: java.io.IOException: Failed to delete C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1 while trying to rename C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1nx-tmp5777127781522975345.nx-upload jvm 1 | at org.codehaus.plexus.util.FileUtils.rename(FileUtils.java:2128) ~[plexus-utils-3.0.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.handleRenameOperation(DefaultFSPeer.java:454) ~[nexus-proxy-2.2-01.jar:na] jvm 1 | ... 110 common frames omitted

    Sonatype JIRA | 4 years ago | Haresh
    org.sonatype.nexus.proxy.LocalStorageException: Got exception during storing on path "releases:/com/abc/policystudio/flowchart/com.abc.policystudio.flowchart.property.api/3.0.0/com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1" (while moving to final destination)
  3. 0

    Was performing deploys using multiple threads (users) of the same set of release artifacts to a releases repo. File locking seemed to fail avoiding IOException: {noformat} jvm 1 | 2012-01-11 11:39:36 ERROR [pha-10.jar.sha1] - org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer - Rename operation failed after 0 retries in 0 ms intervals /home/sonatype/nexus-grid/nexus-webapp-smartproxy-nexus1/nexus-core-oss-webapp-2.0-SNAPSHOT/./../sonatype-work/nexus/storage/releases/.nexus/attributes/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.jar.sha1.nx-upload --> /home/sonatype/nexus-grid/nexus-webapp-smartproxy-nexus1/nexus-core-oss-webapp-2.0-SNAPSHOT/./../sonatype-work/nexus/storage/releases/.nexus/attributes/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.jar.sha1 jvm 1 | 2012-01-11 11:39:36 WARN [pha-10.jar.sha1] - org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer - No cleanup done for error that happened while trying to save attibutes of item releases:/.nexus/attributes/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.jar.sha1, the backup is left as /home/sonatype/nexus-grid/nexus-webapp-smartproxy-nexus1/nexus-core-oss-webapp-2.0-SNAPSHOT/./../sonatype-work/nexus/storage/releases/.nexus/attributes/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.jar.sha1.nx-upload! jvm 1 | 2012-01-11 11:39:42 ERROR [pha-10.jar.sha1] - org.sonatype.nexus.error.reporting.DefaultErrorReportingManager - Detected Error in Nexus jvm 1 | org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request jvm 1 | at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.handleException(AbstractResourceStoreContentPlexusResource.java:835) ~[nexus-rest-api-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.upload(AbstractResourceStoreContentPlexusResource.java:199) ~[nexus-rest-api-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.upload(RestletResource.java:390) ~[plexus-restlet-bridge-1.18.jar:na] jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.storeRepresentation(RestletResource.java:313) ~[plexus-restlet-bridge-1.18.jar:na] jvm 1 | at org.sonatype.nexus.rest.NexusRestletResource.storeRepresentation(NexusRestletResource.java:95) ~[nexus-rest-api-2.0-SNAPSHOT.jar:na] jvm 1 | at org.restlet.resource.Resource.put(Resource.java:706) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.resource.Resource.handlePut(Resource.java:603) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Finder.handle(Finder.java:359) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) [plexus-restlet-bridge-1.18.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Application.handle(Application.java:341) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Component.handle(Component.java:673) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at org.restlet.Server.handle(Server.java:331) [org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) [com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) [com.noelios.restlet.ext.servlet-1.1.6-SONATYPE-5348-V4.jar:na] jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5.jar:2.5] jvm 1 | at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:264) [guice-servlet-3.1.0.jar:na] jvm 1 | at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:179) [guice-servlet-3.1.0.jar:na] jvm 1 | at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93) [guice-servlet-3.1.0.jar:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:63) [guice-servlet-3.1.0.jar:na] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.0.jar:na] jvm 1 | at org.sonatype.nexus.web.NexusGuiceFilter$IteratingFilterChain.doFilter(NexusGuiceFilter.java:85) [nexus-web-utils-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.web.NexusGuiceFilter.dispatch(NexusGuiceFilter.java:59) [nexus-web-utils-2.0-SNAPSHOT.jar:na] jvm 1 | at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:119) [guice-servlet-3.1.0.jar:na] jvm 1 | at org.sonatype.nexus.web.NexusGuiceFilter.doFilter(NexusGuiceFilter.java:49) [nexus-web-utils-2.0-SNAPSHOT.jar:na] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) [shiro-web-1.1.0.jar:na] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.1.0.jar:na] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.1.0.jar:na] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) [shiro-web-1.1.0.jar:na] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.1.0.jar:na] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.1.0.jar:na] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.1.0.jar:na] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) [shiro-web-1.1.0.jar:na] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.1.0.jar:na] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359) [shiro-web-1.1.0.jar:na] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275) [shiro-web-1.1.0.jar:na] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.1.0.jar:1.1.0] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.1.0.jar:1.1.0] jvm 1 | at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344) [shiro-core-1.1.0.jar:1.1.0] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272) [shiro-web-1.1.0.jar:na] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) [shiro-web-1.1.0.jar:na] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520) [jetty-security-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) [jetty-servlet-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.Server.handle(Server.java:345) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801) [jetty-http-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224) [jetty-http-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51) [jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586) [jetty-io-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44) [jetty-io-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) [jetty-util-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) [jetty-util-7.5.4.v20111024.jar:7.5.4.v20111024] jvm 1 | at java.lang.Thread.run(Thread.java:619) [na:1.6.0_21] jvm 1 | Caused by: org.sonatype.nexus.proxy.LocalStorageException: Cannot store attributes! jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.storeItem(DefaultFSLocalRepositoryStorage.java:390) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:1040) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItem(AbstractMavenRepository.java:408) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:674) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.storeItem(DefaultRepositoryRouter.java:219) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.upload(AbstractResourceStoreContentPlexusResource.java:194) ~[nexus-rest-api-2.0-SNAPSHOT.jar:na] jvm 1 | ... 92 common frames omitted jvm 1 | Caused by: org.sonatype.nexus.proxy.LocalStorageException: Got exception during storing on path releases:/.nexus/attributes/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.jar.sha1 (while moving to final destination) jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:167) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.storeItem(DefaultFSLocalRepositoryStorage.java:368) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.proxy.attributes.DefaultLSAttributeStorage.putAttributes(DefaultLSAttributeStorage.java:178) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.proxy.attributes.DelegatingAttributeStorage.putAttributes(DelegatingAttributeStorage.java:68) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.proxy.attributes.DefaultAttributesHandler.storeAttributes(DefaultAttributesHandler.java:272) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.proxy.attributes.DefaultAttributesHandler.storeAttributes(DefaultAttributesHandler.java:304) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.storeItem(DefaultFSLocalRepositoryStorage.java:386) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | ... 97 common frames omitted jvm 1 | Caused by: java.io.IOException: Cannot rename file "/home/sonatype/nexus-grid/nexus-webapp-smartproxy-nexus1/nexus-core-oss-webapp-2.0-SNAPSHOT/./../sonatype-work/nexus/storage/releases/.nexus/attributes/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.jar.sha1.nx-upload" to "/home/sonatype/nexus-grid/nexus-webapp-smartproxy-nexus1/nexus-core-oss-webapp-2.0-SNAPSHOT/./../sonatype-work/nexus/storage/releases/.nexus/attributes/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.jar.sha1"! File /home/sonatype/nexus-grid/nexus-webapp-smartproxy-nexus1/nexus-core-oss-webapp-2.0-SNAPSHOT/./../sonatype-work/nexus/storage/releases/.nexus/attributes/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.jar.sha1.nx-upload does not exist jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.handleRenameOperation(DefaultFSPeer.java:446) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:142) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] jvm 1 | ... 103 common frames omitted {noformat} See attached wrapper.log for complete log where this happened twice

    Sonatype JIRA | 5 years ago | Peter Lynch
    org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Upgraded from Nexus 1.5.0 to Nexus OSS 1.9.1.1 about a week ago. Since the upgrade, some of our maven builds are failing to deploy artifacts to Nexus. This is happening almost every day. It's *not* the same artifact each time the build fails. Problem is intermittent -- might be a race condition. Re-running the maven build is usually successful, but sometimes we get this error for multiple builds in a row. Maven build output (example): ... build 25-May-2011 16:15:55 [INFO] [deploy:deploy {execution: default-deploy}] build 25-May-2011 16:15:55 [INFO] Retrieving previous build number from Snapshot build 25-May-2011 16:15:55 Uploading: http://XXXXX.YYYYY.com/nexus/content/repositories/snapshots//com/cigna/coderunner/coderunner-config-flex/1.1.2-SNAPSHOT/coderunner-config-flex-1.1.2-SNAPSHOT.swf build 25-May-2011 16:15:55 1604K uploaded (coderunner-config-flex-1.1.2-SNAPSHOT.swf) build 25-May-2011 16:15:55 [INFO] ------------------------------------------------------------------------ build 25-May-2011 16:15:55 [ERROR] BUILD ERROR build 25-May-2011 16:15:55 [INFO] ------------------------------------------------------------------------ build 25-May-2011 16:15:58 [INFO] Error deploying artifact: Failed to transfer file: http://XXXXX.YYYYY.com/nexus/content/repositories/snapshots/com/cigna/coderunner/coderunner-config-flex/1.1.2-SNAPSHOT/coderunner-config-flex-1.1.2-SNAPSHOT.swf.sha1. Return code is: 500 build 25-May-2011 16:15:58 build 25-May-2011 16:15:58 [INFO] ------------------------------------------------------------------------ build 25-May-2011 16:15:58 [INFO] For more information, run Maven with the -e switch build 25-May-2011 16:15:58 [INFO] ------------------------------------------------------------------------ build 25-May-2011 16:15:58 [INFO] Total time: 7 minutes 21 seconds build 25-May-2011 16:15:58 [INFO] Finished at: Wed May 25 16:15:55 EDT 2011 build 25-May-2011 16:15:58 [INFO] Final Memory: 495M/2035M build 25-May-2011 16:15:58 [INFO] ------------------------------------------------------------------------ nexus.log (example -- *different* artifact to maven example): ... 2011-05-24 15:47:43 ERROR [http-80-51 ] - o.s.n.p.s.l.f.Defau~ - Rename operation failed after 0 retries in 0 ms intervals F:\Apps\nexus-work\storage\snapshots\com\cigna\coderunner\coderunner-core-services\1.1.2-SNAPSHOT\coderunner-core-services-1.1.2-SNAPSHOT.jar.sha1.nx-upload --> F:\Apps\nexus-work\storage\snapshots\com\cigna\coderunner\coderunner-core-services\1.1.2-SNAPSHOT\coderunner-core-services-1.1.2-SNAPSHOT.jar.sha1 2011-05-24 15:47:43 ERROR [http-80-51 ] - o.s.n.r.ContentPlex~ - Got exception during processing request "PUT http://XXXXX.YYYYY.com/nexus/content/repositories/snapshots/com/cigna/coderunner/coderunner-core-services/1.1.2-SNAPSHOT/coderunner-core-services-1.1.2-SNAPSHOT.jar.sha1": Got exception during storing on path snapshots:/com/cigna/coderunner/coderunner-core-services/1.1.2-SNAPSHOT/coderunner-core-services-1.1.2-SNAPSHOT.jar.sha1 2011-05-24 15:47:44 ERROR [http-80-51 ] - o.s.n.e.r.DefaultEr~ - Detected Error in Nexus org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.handleException(AbstractResourceStoreContentPlexusResource.java:789) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.upload(AbstractResourceStoreContentPlexusResource.java:196) at org.sonatype.plexus.rest.resource.RestletResource.upload(RestletResource.java:379) at org.sonatype.plexus.rest.resource.RestletResource.storeRepresentation(RestletResource.java:302) at org.sonatype.nexus.rest.NexusRestletResource.storeRepresentation(NexusRestletResource.java:102) 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:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) 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.Http11AprProcessor.process(Http11AprProcessor.java:859) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527) at java.lang.Thread.run(Unknown Source) Caused by: org.sonatype.nexus.proxy.LocalStorageException: Got exception during storing on path snapshots:/com/cigna/coderunner/coderunner-core-services/1.1.2-SNAPSHOT/coderunner-core-services-1.1.2-SNAPSHOT.jar.sha1 at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:123) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.storeItem(DefaultFSLocalRepositoryStorage.java:356) at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:1002) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItem(AbstractMavenRepository.java:409) at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:653) at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.storeItem(DefaultRepositoryRouter.java:219) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.upload(AbstractResourceStoreContentPlexusResource.java:191) ... 74 more Caused by: java.io.IOException: Cannot rename file "F:\Apps\nexus-work\storage\snapshots\com\cigna\coderunner\coderunner-core-services\1.1.2-SNAPSHOT\coderunner-core-services-1.1.2-SNAPSHOT.jar.sha1.nx-upload" to "F:\Apps\nexus-work\storage\snapshots\com\cigna\coderunner\coderunner-core-services\1.1.2-SNAPSHOT\coderunner-core-services-1.1.2-SNAPSHOT.jar.sha1"! Failed to delete F:\Apps\nexus-work\storage\snapshots\com\cigna\coderunner\coderunner-core-services\1.1.2-SNAPSHOT\coderunner-core-services-1.1.2-SNAPSHOT.jar.sha1 while trying to rename F:\Apps\nexus-work\storage\snapshots\com\cigna\coderunner\coderunner-core-services\1.1.2-SNAPSHOT\coderunner-core-services-1.1.2-SNAPSHOT.jar.sha1.nx-upload at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.handleRenameOperation(DefaultFSPeer.java:394) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:107) ... 80 more

    Sonatype JIRA | 6 years ago | Nicholas Fone
    org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request
  6. 0

    While verifying NXCM-965 I uploaded a 1 gigabyte artifact into Nexus running on MacOs. After this, from the repository browse UI, I right clicked on the version folder and clicked delete. Nothing happened, the artifact was still there even after hitting "refresh" several times. Then I tried delete from the artifact folder. Same thing, no change. Finally after leaving the UI alone for about a minute I got a pop-up dialog showing that it had been deleted. Log shows several exceptions (shown below). A few observations: 1) The file appears to be moved to the trash using a copy/delete operation. I can actually watch the file grow larger in the trash over the course of a minute. If we switch this to a File.renameTo() operation it will be very fast (at least on unix systems where source and dest are on the same filesystem). 2) For cases where copy/delete is not avoidable, the UI should display a progress dialog to show user operation is in process, and nexus internals should prevent further delete requests for the subtree. === 2009-07-16 14:45:47 ERROR [qtp0-8 ] - o.s.p.r.r.PlexusRes~:Reposit~ - IO error! org.sonatype.nexus.proxy.StorageException: Got IOException during wastebasket handling! at org.sonatype.nexus.proxy.wastebasket.DefaultFSWastebasket.delete(DefaultFSWastebasket.java:209) at org.sonatype.nexus.proxy.storage.local.AbstractLocalRepositoryStorage.deleteItem(AbstractLocalRepositoryStorage.java:166) at org.sonatype.nexus.proxy.repository.AbstractRepository.doDeleteItem(AbstractRepository.java:1185) at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:963) at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:662) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.delete(AbstractResourceStoreContentPlexusResource.java:174) at org.sonatype.plexus.rest.resource.RestletResource.removeRepresentations(RestletResource.java:354) at org.restlet.resource.Resource.delete(Resource.java:224) at org.restlet.resource.Resource.handleDelete(Resource.java:384) at org.restlet.Finder.handle(Finder.java:361) 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: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) Caused by: java.io.IOException: Failed to copy full contents from /Users/rseddon/nexus-136/nexus-professional-webapp-1.3.6/bin/jsw/macosx-universal-32/../../../../sonatype-work/nexus/storage/releases/test/reallybig/1.0.0/reallybig-1.0.0.jar to ../../../../sonatype-work/nexus/trash/releases/test/reallybig/1.0.0/reallybig-1.0.0.jar at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:970) at org.codehaus.plexus.util.FileUtils.copyFileToDirectory(FileUtils.java:907) at org.codehaus.plexus.util.FileUtils.copyDirectory(FileUtils.java:1779) at org.codehaus.plexus.util.FileUtils.copyDirectory(FileUtils.java:1761) at org.sonatype.nexus.proxy.wastebasket.DefaultFSWastebasket.delete(DefaultFSWastebasket.java:189) ... 77 more 2009-07-16 14:46:00 ERROR [qtp0-5 ] - o.s.p.r.r.PlexusRes~:Reposit~ - IO error! org.sonatype.nexus.proxy.StorageException: Got IOException during wastebasket handling! at org.sonatype.nexus.proxy.wastebasket.DefaultFSWastebasket.delete(DefaultFSWastebasket.java:209) at org.sonatype.nexus.proxy.storage.local.AbstractLocalRepositoryStorage.deleteItem(AbstractLocalRepositoryStorage.java:166) at org.sonatype.nexus.proxy.repository.AbstractRepository.doDeleteItem(AbstractRepository.java:1185) at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:963) at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:662) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.delete(AbstractResourceStoreContentPlexusResource.java:174) at org.sonatype.plexus.rest.resource.RestletResource.removeRepresentations(RestletResource.java:354) at org.restlet.resource.Resource.delete(Resource.java:224) at org.restlet.resource.Resource.handleDelete(Resource.java:384) at org.restlet.Finder.handle(Finder.java:361) 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: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) Caused by: java.io.IOException: Failed to copy full contents from /Users/rseddon/nexus-136/nexus-professional-webapp-1.3.6/bin/jsw/macosx-universal-32/../../../../sonatype-work/nexus/storage/releases/test/reallybig/1.0.0/reallybig-1.0.0.jar to ../../../../sonatype-work/nexus/trash/releases/test/reallybig/1.0.0/reallybig-1.0.0.jar at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:970) at org.codehaus.plexus.util.FileUtils.copyFileToDirectory(FileUtils.java:907) at org.codehaus.plexus.util.FileUtils.copyDirectory(FileUtils.java:1779) at org.codehaus.plexus.util.FileUtils.copyDirectory(FileUtils.java:1761) at org.sonatype.nexus.proxy.wastebasket.DefaultFSWastebasket.delete(DefaultFSWastebasket.java:189) ... 77 more 2009-07-16 15:08:10 WARN [qtp0-5 ] - o.s.n.ApplicationSt~:default - Couldn't validate the Professional License, running in evaluation mode.

    Sonatype JIRA | 7 years ago | Rich Seddon
    org.sonatype.nexus.proxy.StorageException: Got IOException during wastebasket handling!

    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.io.IOException

      Failed to delete C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1 while trying to rename C:\abc\Platform\abc\artifact-repository\sonatype-work\nexus\storage\releases\com\abc\policystudio\flowchart\com.abc.policystudio.flowchart.property.api\3.0.0\com.abc.policystudio.flowchart.property.api-3.0.0.jar.sha1nx-tmp5777127781522975345.nx-upload

      at org.codehaus.plexus.util.FileUtils.rename()
    2. Plexus Common Utilities
      FileUtils.rename
      1. org.codehaus.plexus.util.FileUtils.rename(FileUtils.java:2128)[plexus-utils-3.0.jar:na]
      1 frame
    3. ${project.groupId}:${project.artifactId}
      ArtifactStoreHelper.storeArtifactWithGeneratedPom
      1. org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.handleRenameOperation(DefaultFSPeer.java:454)[nexus-proxy-2.2-01.jar:na]
      2. org.sonatype.nexus.proxy.storage.local.fs.DefaultFSPeer.storeItem(DefaultFSPeer.java:136)[nexus-proxy-2.2-01.jar:na]
      3. org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.storeItem(DefaultFSLocalRepositoryStorage.java:362)[nexus-proxy-2.2-01.jar:na]
      4. org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:1081)[nexus-proxy-2.2-01.jar:na]
      5. org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItem(AbstractMavenRepository.java:402)[nexus-proxy-2.2-01.jar:na]
      6. org.sonatype.nexus.proxy.maven.ArtifactStoreHelper.storeItemWithChecksums(ArtifactStoreHelper.java:93)[nexus-proxy-2.2-01.jar:na]
      7. org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItemWithChecksums(AbstractMavenRepository.java:334)[nexus-proxy-2.2-01.jar:na]
      8. org.sonatype.nexus.proxy.maven.ArtifactStoreHelper.storeArtifactWithGeneratedPom(ArtifactStoreHelper.java:470)[nexus-proxy-2.2-01.jar:na]
      8 frames
    4. Nexus Core
      AbstractArtifactPlexusResource.upload
      1. org.sonatype.nexus.rest.artifact.AbstractArtifactPlexusResource.upload(AbstractArtifactPlexusResource.java:456)[nexus-rest-api-2.2-01.jar:na]
      1 frame
    5. ${project.groupId}:${project.artifactId}
      RestletResource.acceptRepresentation
      1. org.sonatype.plexus.rest.resource.RestletResource.upload(RestletResource.java:383)[plexus-restlet-bridge-1.22.jar:na]
      2. org.sonatype.plexus.rest.resource.RestletResource.acceptRepresentation(RestletResource.java:279)[plexus-restlet-bridge-1.22.jar:na]
      2 frames
    6. Nexus Core
      NexusRestletResource.acceptRepresentation
      1. org.sonatype.nexus.rest.NexusRestletResource.acceptRepresentation(NexusRestletResource.java:71)[nexus-rest-api-2.2-01.jar:na]
      1 frame
    7. org.restlet.resource
      Resource.handlePost
      1. org.restlet.resource.Resource.post(Resource.java:688)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      2. org.restlet.resource.Resource.handlePost(Resource.java:537)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      2 frames
    8. org.restlet
      Filter.doHandle
      1. org.restlet.Finder.handle(Finder.java:357)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      3. org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      4. org.restlet.Router.handle(Router.java:504)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      5. org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      6. org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      7. org.restlet.Router.handle(Router.java:504)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      8. org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      9. org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      10. org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      10 frames
    9. ${project.groupId}:${project.artifactId}
      RetargetableRestlet.doHandle
      1. org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)[plexus-restlet-bridge-1.22.jar:na]
      1 frame
    10. org.restlet
      Filter.doHandle
      1. org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      3. org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      4. org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      5. org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      6. org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      6 frames
    11. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      1 frame
    12. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      3. org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      3 frames
    13. com.noelios.restlet
      ApplicationHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      2. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      2 frames
    14. org.restlet
      Filter.handle
      1. org.restlet.Application.handle(Application.java:341)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      2. org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      3. org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      4. org.restlet.Router.handle(Router.java:504)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      5. org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      6. org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      7. org.restlet.Router.handle(Router.java:504)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      8. org.restlet.Filter.doHandle(Filter.java:150)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      9. org.restlet.Filter.handle(Filter.java:195)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      9 frames
    15. com.noelios.restlet
      ChainHelper.handle
      1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      1 frame
    16. org.restlet
      Server.handle
      1. org.restlet.Component.handle(Component.java:673)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      2. org.restlet.Server.handle(Server.java:331)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      2 frames
    17. com.noelios.restlet
      ServerServlet.service
      1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)[com.noelios.restlet-1.1.6-SONATYPE-5348-V4.jar:na]
      3. com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)[com.noelios.restlet.ext.servlet-1.1.6-SONATYPE-5348-V4.jar:na]
      3 frames
    18. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:770)[javax.servlet-api-3.0.1.jar:3.0.1]
      1 frame
    19. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:278)[guice-servlet-3.1.1.jar:na]
      2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:268)[guice-servlet-3.1.1.jar:na]
      3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:180)[guice-servlet-3.1.1.jar:na]
      4. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)[guice-servlet-3.1.1.jar:na]
      5. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:84)[guice-servlet-3.1.1.jar:na]
      6. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:169)[guice-servlet-3.1.1.jar:na]
      7. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:81)[guice-servlet-3.1.1.jar:na]
      7 frames
    20. Shiro
      OncePerRequestFilter.doFilter
      1. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)[shiro-web-1.2.0.jar:1.2.0]
      2. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[shiro-web-1.2.0.jar:1.2.0]
      3. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[shiro-web-1.2.0.jar:1.2.0]
      4. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.0.jar:1.2.0]
      5. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[shiro-web-1.2.0.jar:1.2.0]
      6. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[shiro-web-1.2.0.jar:1.2.0]
      7. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[shiro-web-1.2.0.jar:1.2.0]
      8. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.0.jar:1.2.0]
      9. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[shiro-web-1.2.0.jar:1.2.0]
      10. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[shiro-web-1.2.0.jar:1.2.0]
      11. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[shiro-web-1.2.0.jar:1.2.0]
      12. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.0.jar:1.2.0]
      13. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[shiro-web-1.2.0.jar:1.2.0]
      14. org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[shiro-web-1.2.0.jar:1.2.0]
      15. org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[shiro-web-1.2.0.jar:1.2.0]
      16. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.0.jar:1.2.0]
      17. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.0.jar:1.2.0]
      18. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:380)[shiro-core-1.2.0.jar:1.2.0]
      19. org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[shiro-web-1.2.0.jar:1.2.0]
      20. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.0.jar:1.2.0]
      20 frames
    21. Guice - Servlet
      ManagedFilterPipeline.dispatch
      1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:164)[guice-servlet-3.1.1.jar:na]
      2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:81)[guice-servlet-3.1.1.jar:na]
      3. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.1.jar:na]
      3 frames
    22. ${project.groupId}:${project.artifactId}
      NexusGuiceFilter$MultiFilterPipeline.dispatch
      1. org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:88)[nexus-web-utils-2.2-01.jar:na]
      2. org.sonatype.nexus.web.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:58)[nexus-web-utils-2.2-01.jar:na]
      2 frames
    23. Guice - Servlet
      GuiceFilter.doFilter
      1. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:126)[guice-servlet-3.1.1.jar:na]
      1 frame
    24. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1338)[jetty-servlet-8.1.3.v20120416.jar:8.1.3.v20120416]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484)[jetty-servlet-8.1.3.v20120416.jar:8.1.3.v20120416]
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)[jetty-security-8.1.3.v20120416.jar:8.1.3.v20120416]
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413)[jetty-servlet-8.1.3.v20120416.jar:8.1.3.v20120416]
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      12. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      13. org.eclipse.jetty.server.Server.handle(Server.java:350)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      14. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      15. org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:900)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      16. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:954)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      17. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:851)[jetty-http-8.1.3.v20120416.jar:8.1.3.v20120416]
      18. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[jetty-http-8.1.3.v20120416.jar:8.1.3.v20120416]
      19. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)[jetty-server-8.1.3.v20120416.jar:8.1.3.v20120416]
      19 frames
    25. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606)[jetty-io-8.1.3.v20120416.jar:8.1.3.v20120416]
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)[jetty-io-8.1.3.v20120416.jar:8.1.3.v20120416]
      2 frames
    26. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)[jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416]
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)[jetty-util-8.1.3.v20120416.jar:8.1.3.v20120416]
      2 frames
    27. org.sonatype.sisu
      RunnableWrapper.run
      1. org.sonatype.sisu.jetty.thread.RunnableWrapper.run(RunnableWrapper.java:26)[sisu-jetty8-1.3.jar:na]
      1 frame
    28. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[na:1.6.0_43]
      1 frame