org.sonatype.nexus.proxy.StorageException: Got IOException during wastebasket handling!

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

    Using the Nexus UI, I deleted the "org" folder from my Maven central proxy. This took several minutes and then failed, turns out a build running at the same time which was pulling artifacts through the central proxy. Not sure what the exact algorithm used here is, but it looks like the we are traversing the directory and deleting contents? If this is the case this makes this sort of thing much more likely to happen. It would be safer to attempt rename the folder to a statistically unique name before deleting anything. If any files are in use this will fail, and you can safely abort the operation. {code} 2010-01-26 13:15:49 ERROR [qtp-10233621-19] - 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:216) at org.sonatype.nexus.proxy.storage.local.AbstractLocalRepositoryStorage.deleteItem(AbstractLocalRepositoryStorage.java:189) at org.sonatype.nexus.proxy.repository.AbstractRepository.doDeleteItem(AbstractRepository.java:1197) at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:930) at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:591) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.delete(AbstractResourceStoreContentPlexusResource.java:188) at org.sonatype.plexus.rest.resource.RestletResource.removeRepresentations(RestletResource.java:357) at org.sonatype.nexus.rest.NexusRestletResource.removeRepresentations(NexusRestletResource.java:109) at org.restlet.resource.Resource.delete(Resource.java:223) at org.restlet.resource.Resource.handleDelete(Resource.java:383) 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:881) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) Caused by: org.sonatype.nexus.proxy.StorageException: Could not delete File in repository "Maven Central" (id="central") from path C:\nexus\nexus-professional-webapp-1.5.0\bin\jsw\windows-x86-32\..\..\..\..\sonatype-work\nexus\storage\central\org at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.shredItem(DefaultFSLocalRepositoryStorage.java:595) at org.sonatype.nexus.proxy.wastebasket.DefaultFSWastebasket.delete(DefaultFSWastebasket.java:207) ... 78 more Caused by: java.io.IOException: Directory C:\nexus\nexus-professional-webapp-1.5.0\bin\jsw\windows-x86-32\..\..\..\..\sonatype-work\nexus\storage\central\org\apache\maven unable to be deleted. at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1462) at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1272) at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1507) at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1458) at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1272) at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1507) at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1458) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.shredItem(DefaultFSLocalRepositoryStorage.java:591) ... 79 more 2010-01-26 13:15:49 ERROR [qtp-10233621-19] - o.s.n.e.r.ErrorRepo~ - Detected Error in Nexus org.restlet.resource.ResourceException: Got IOException during wastebasket handling! at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.handleException(AbstractResourceStoreContentPlexusResource.java:680) at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.delete(AbstractResourceStoreContentPlexusResource.java:196) at org.sonatype.plexus.rest.resource.RestletResource.removeRepresentations(RestletResource.java:357) at org.sonatype.nexus.rest.NexusRestletResource.removeRepresentations(NexusRestletResource.java:109) at org.restlet.resource.Resource.delete(Resource.java:223) at org.restlet.resource.Resource.handleDelete(Resource.java:383) 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:881) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) {code}

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

    We NEED to completely disable the ehcache disk access, it should only be in memory. Periodically still seeing errors as follows in ITs java.io.IOException: File C:\home\hudson\workspace\Nexus\jdk\1.6\label\windows\trunk\nexus\nexus-test-harness\nexus-test-harness-launcher\target\nexus\nexus-work-dir\tmp\ehcache\org.sonatype.security.realms.XmlAuthorizingRealm-345-authorization.data unable to be deleted. at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1279) at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1507) at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1458) at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1272) at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1507) at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1458) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.cleanWorkDir(AbstractNexusIntegrationTest.java:282) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.beforeStartClean(AbstractNexusIntegrationTest.java:219) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassSetUp(AbstractNexusIntegrationTest.java:182)

    Sonatype JIRA | 7 years ago
    java.io.IOException: File C:\home\hudson\workspace\Nexus\jdk\1.6\label\windows\trunk\nexus\nexus-test-harness\nexus-test-harness-launcher\target\nexus\nexus-work-dir\tmp\ehcache\org.sonatype.security.realms.XmlAuthorizingRealm-345-authorization.data unable to be deleted.
  3. 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!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    Using the war, execute a task of Empty Trash => Although the system feed shows that the empty trash task starts and successfully finishes, the scheduled task page shows a status of Broken. In looking at the Trash folder for the war structure, the files and folders are removed successfully. From the nexus.log: 2008-11-05 15:29:13.281 INFO [pxpool-1-thread-3:] - org.sonatype.nexus.feeds.FeedRecorder:default: Emptying Trash. : Process started on Wed Nov 05 15:29:13 MST 2008, not yet finished. 2008-11-05 15:29:14.343 DEBUG [http--8080-5:] - org.sonatype.nexus.security.filter.authz.HttpVerbMappingAuthorizationFilter: MAPPED 'read' action to permission: nexus:repositories:read 2008-11-05 15:29:14.406 INFO [pxpool-1-thread-3:] - org.sonatype.nexus.feeds.FeedRecorder:default: Emptying Trash. : Process started on Wed Nov 05 15:29:13 MST 2008, finished on Wed Nov 05 15:29:14 MST 2008 with error. Error message is: java.io.IOException, File C:\Documents and Settings\Kristine\sonatype-work\nexus-work\trash\central_rso\.index\nexus-maven-repository-index.zip unable to be deleted. Strack trace: java.io.IOException: File C:\Documents and Settings\Kristine\sonatype-work\nexus-work\trash\central_rso\.index\nexus-maven-repository-index.zip unable to be deleted. at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1279) at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1507) at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1458) at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1272) at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1507) at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1458) at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1272) at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1507) at org.sonatype.nexus.proxy.wastebasket.DefaultFSWastebasket.purge(DefaultFSWastebasket.java:110) at org.sonatype.nexus.tasks.EmptyTrashTask.doRun(EmptyTrashTask.java:48) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:142) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) java.io.IOException: File C:\Documents and Settings\Kristine\sonatype-work\nexus-work\trash\central_rso\.index\nexus-maven-repository-index.zip unable to be deleted. at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1279) at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1507) at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1458) at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1272) at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1507) at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1458) at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1272) at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1507) at org.sonatype.nexus.proxy.wastebasket.DefaultFSWastebasket.purge(DefaultFSWastebasket.java:110) at org.sonatype.nexus.tasks.EmptyTrashTask.doRun(EmptyTrashTask.java:48) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:142) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) 2008-11-05 15:29:24.890 INFO [pxpool-1-thread-4:] - org.sonatype.nexus.feeds.FeedRecorder:default: Removing folder with repository ID: central_rso : Process started on Wed Nov 05 15:29:08 MST 2008, finished successfu

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    java.io.IOException: File C:\Documents and Settings\Kristine\sonatype-work\nexus-work\trash\central_rso\.index\nexus-maven-repository-index.zip unable to be deleted.
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

    Directory C:\nexus\nexus-professional-webapp-1.5.0\bin\jsw\windows-x86-32\..\..\..\..\sonatype-work\nexus\storage\central\org\apache\maven unable to be deleted.

    at org.codehaus.plexus.util.FileUtils.deleteDirectory()
  2. Plexus Common Utilities
    FileUtils.deleteDirectory
    1. org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1462)
    2. org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1272)
    3. org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1507)
    4. org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1458)
    5. org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1272)
    6. org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1507)
    7. org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1458)
    7 frames
  3. ${project.groupId}:${project.artifactId}
    AbstractRepository.deleteItem
    1. org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.shredItem(DefaultFSLocalRepositoryStorage.java:591)
    2. org.sonatype.nexus.proxy.wastebasket.DefaultFSWastebasket.delete(DefaultFSWastebasket.java:207)
    3. org.sonatype.nexus.proxy.storage.local.AbstractLocalRepositoryStorage.deleteItem(AbstractLocalRepositoryStorage.java:189)
    4. org.sonatype.nexus.proxy.repository.AbstractRepository.doDeleteItem(AbstractRepository.java:1197)
    5. org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:930)
    6. org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:591)
    6 frames
  4. Nexus Core
    AbstractResourceStoreContentPlexusResource.delete
    1. org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.delete(AbstractResourceStoreContentPlexusResource.java:188)
    1 frame
  5. ${project.groupId}:${project.artifactId}
    RestletResource.removeRepresentations
    1. org.sonatype.plexus.rest.resource.RestletResource.removeRepresentations(RestletResource.java:357)
    1 frame
  6. Nexus Core
    NexusRestletResource.removeRepresentations
    1. org.sonatype.nexus.rest.NexusRestletResource.removeRepresentations(NexusRestletResource.java:109)
    1 frame
  7. org.restlet.resource
    Resource.handleDelete
    1. org.restlet.resource.Resource.delete(Resource.java:223)
    2. org.restlet.resource.Resource.handleDelete(Resource.java:383)
    2 frames
  8. org.restlet
    Filter.doHandle
    1. org.restlet.Finder.handle(Finder.java:361)
    2. org.restlet.Filter.doHandle(Filter.java:150)
    3. org.restlet.Filter.handle(Filter.java:195)
    4. org.restlet.Router.handle(Router.java:504)
    5. org.restlet.Filter.doHandle(Filter.java:150)
    6. org.restlet.Filter.handle(Filter.java:195)
    7. org.restlet.Router.handle(Router.java:504)
    8. org.restlet.Filter.doHandle(Filter.java:150)
    9. org.restlet.Filter.handle(Filter.java:195)
    10. org.restlet.Filter.doHandle(Filter.java:150)
    10 frames
  9. ${project.groupId}:${project.artifactId}
    RetargetableRestlet.doHandle
    1. org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)
    1 frame
  10. org.restlet
    Filter.doHandle
    1. org.restlet.Filter.handle(Filter.java:195)
    2. org.restlet.Filter.doHandle(Filter.java:150)
    3. org.restlet.Filter.handle(Filter.java:195)
    4. org.restlet.Filter.doHandle(Filter.java:150)
    5. org.restlet.Filter.handle(Filter.java:195)
    6. org.restlet.Filter.doHandle(Filter.java:150)
    6 frames
  11. com.noelios.restlet
    StatusFilter.doHandle
    1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
    1 frame
  12. org.restlet
    Filter.handle
    1. org.restlet.Filter.handle(Filter.java:195)
    2. org.restlet.Filter.doHandle(Filter.java:150)
    3. org.restlet.Filter.handle(Filter.java:195)
    3 frames
  13. com.noelios.restlet
    ApplicationHelper.handle
    1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
    2. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
    2 frames
  14. org.restlet
    Application.handle
    1. org.restlet.Application.handle(Application.java:341)
    1 frame
  15. org.restlet.ext
    WadlApplication.handle
    1. org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705)
    1 frame
  16. org.restlet
    Filter.handle
    1. org.restlet.Filter.doHandle(Filter.java:150)
    2. org.restlet.Filter.handle(Filter.java:195)
    3. org.restlet.Router.handle(Router.java:504)
    4. org.restlet.Filter.doHandle(Filter.java:150)
    5. org.restlet.Filter.handle(Filter.java:195)
    6. org.restlet.Router.handle(Router.java:504)
    7. org.restlet.Filter.doHandle(Filter.java:150)
    8. org.restlet.Filter.handle(Filter.java:195)
    8 frames
  17. com.noelios.restlet
    ChainHelper.handle
    1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
    1 frame
  18. org.restlet
    Server.handle
    1. org.restlet.Component.handle(Component.java:673)
    2. org.restlet.Server.handle(Server.java:331)
    2 frames
  19. com.noelios.restlet
    ServerServlet.service
    1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
    2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
    3. com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)
    3 frames
  20. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    1 frame
  21. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
    2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    2 frames
  22. org.jsecurity.web
    OncePerRequestFilter.doFilter
    1. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
    2. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
    3. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
    4. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    5. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
    6. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
    7. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
    8. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    9. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
    10. org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
    11. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    11 frames
  23. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
    7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    8. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    9. org.mortbay.jetty.Server.handle(Server.java:326)
    10. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    11. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
    12. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
    13. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    14. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    15. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    15 frames
  24. Jetty Util
    QueuedThreadPool$PoolThread.run
    1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
    1 frame