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)

Solutions on the web22

  • via Sonatype JIRA by Haresh, 1 year ago
    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)
  • via Sonatype JIRA by Haresh, 1 year ago
    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)
  • via Sonatype JIRA by Peter Lynch, 1 year ago
    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)
  • Stack trace

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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.