java.io.IOException: Failed to copy full contents from ..\..\..\..\sonatype-work\nexus\conf\nexus.x ml to ..\..\..\..\sonatype-work\nexus\conf\nexus.xml.old

Sonatype JIRA | Brian Fox | 8 years ago
  1. 0

    lt] - Applying Nexus Configuration... jvm 1 | 2008-08-15 21:20:17,433 INFO [org.sonatype.nexus.timeline.Timeline:default] - Stopping Timeline... jvm 1 | 2008-08-15 21:20:17,443 INFO [org.sonatype.nexus.configuration.application.NexusConfiguration:defau lt] - Applying Nexus Configuration... jvm 1 | 2008-08-15 21:20:17,449 INFO [org.sonatype.nexus.proxy.registry.RepositoryRegistry:default] - Updat ed repository ID=apache-snapshots (contentClass=maven2) jvm 1 | 2008-08-15 21:20:17,449 INFO [org.sonatype.nexus.configuration.application.NexusConfiguration:defau lt] - Applying Nexus Configuration... jvm 1 | 2008-08-15 21:20:17,649 INFO [org.sonatype.nexus.timeline.Timeline:default] - Starting Timeline... jvm 1 | 2008-08-15 21:20:17,876 WARN [org.sonatype.nexus.Nexus:default] - Could not save repo changes! jvm 1 | java.io.IOException: Failed to copy full contents from ..\..\..\..\sonatype-work\nexus\conf\nexus.x ml to ..\..\..\..\sonatype-work\nexus\conf\nexus.xml.old jvm 1 | at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:970) jvm 1 | at org.sonatype.nexus.configuration.application.source.FileConfigurationSource.saveConfigurati on(FileConfigurationSource.java:283) jvm 1 | at org.sonatype.nexus.configuration.application.source.FileConfigurationSource.storeConfigurat ion(FileConfigurationSource.java:192) jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.saveConfiguration(De faultNexusConfiguration.java:224) jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.applyAndSaveConfigur ation(DefaultNexusConfiguration.java:232) jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.updateRepository(Def aultNexusConfiguration.java:766) jvm 1 | at org.sonatype.nexus.DefaultNexus.updateRepository(DefaultNexus.java:538) jvm 1 | at org.sonatype.nexus.DefaultNexus.onProximityEvent(DefaultNexus.java:1928) jvm 1 | at org.sonatype.nexus.proxy.EventMulticasterComponent.notifyProximityEventListeners(EventMulti casterComponent.java:65) jvm 1 | at org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.onProximityEvent(DefaultReposit oryRegistry.java:366) jvm 1 | at org.sonatype.nexus.proxy.EventMulticasterComponent.notifyProximityEventListeners(EventMulti casterComponent.java:65) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.autoBlockProxying(AbstractRepository .java:361) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.isRemoteStorageReachable(AbstractRep ository.java:553) jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository$1.call(AbstractRepository.java:256) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) jvm 1 | at java.lang.Thread.run(Unknown Source)

    Sonatype JIRA | 8 years ago | Brian Fox
    java.io.IOException: Failed to copy full contents from ..\..\..\..\sonatype-work\nexus\conf\nexus.x ml to ..\..\..\..\sonatype-work\nexus\conf\nexus.xml.old
  2. 0

    Exception seen in log when deleting a group repository, looks the repo cleaner is looking for old style index folders. Also saw that the new index folder (sonatype-work/nexus/indexer/b-ctx) was not removed. {noformat} 2011-01-04 16:46:05 INFO [tp-512243268-32] - o.s.n.p.r.DefaultRe~ - Removed repository ID='b' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.repository.GroupRepository') 2011-01-04 16:46:05 INFO [tp-512243268-32] - o.s.n.c.a.DefaultNe~ - Applying Nexus Configuration... 2011-01-04 16:46:06 INFO [tp-512243268-32] - o.s.n.c.v.DefaultAp~ - Nexus configuration validated succesfully. 2011-01-04 16:46:06 INFO [pool-1-thread-2] - o.s.n.f.DefaultFeed~ - Deleting folders with repository ID: b : Process started on Tue Jan 04 16:46:06 CST 2011, not yet finished. 2011-01-04 16:46:06 WARN [pool-1-thread-2] - o.s.n.p.w.DefaultRe~ - Got exception during execution of RepositoryFolderCleaner org.sonatype.nexus.index.IndexRepositoryFolderCleaner, continuing. java.io.IOException: File /Users/rseddon/nexus/nexus-onboarding-webapp-1.9-SNAPSHOT/./../sonatype-work/nexus/indexer/b-local does not exist at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:1003) at org.sonatype.nexus.proxy.wastebasket.AbstractRepositoryFolderCleaner.delete(AbstractRepositoryFolderCleaner.java:52) at org.sonatype.nexus.index.IndexRepositoryFolderCleaner.cleanRepositoryFolders(IndexRepositoryFolderCleaner.java:27) at org.sonatype.nexus.proxy.wastebasket.DefaultRepositoryFolderRemover.deleteRepositoryFolders(DefaultRepositoryFolderRemover.java:36) at org.sonatype.nexus.tasks.DeleteRepositoryFoldersTask.doRun(DeleteRepositoryFoldersTask.java:72) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:187) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) 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:206) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) 2011-01-04 16:46:09 INFO [pool-1-thread-2] - o.s.n.f.DefaultFeed~ - Deleting folders with repository ID: b : Process started on Tue Jan 04 16:46:06 CST 2011, finished successfully on Tue Jan 04 16:46:09 CST 2011 {noformat}

    Sonatype JIRA | 6 years ago | Rich Seddon
    java.io.IOException: File /Users/rseddon/nexus/nexus-onboarding-webapp-1.9-SNAPSHOT/./../sonatype-work/nexus/indexer/b-local does not exist
  3. 0

    The package action fails when file name are too long. Note: the file creating the error can be created by hand. (echo yes > d:\Home\LDauvilaire\src\Repository\SVN\JHub\modules\display-webapp\modules\hub-internal\..\..\..\..\target\dev\3.0.20\hub-webapp-internal\hub-webapp-internal-3.0.20\fceditor\editor\dialog\fck_spellerpages\spellerpages\server-scripts\spellchecker.cfm) See stack trace below: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp resources to d:\Home\LDauvilaire\src\Repository\SVN\JHub\modules\display-webapp\modules\hub-internal\..\..\..\..\target\dev\3.0.20\hub-webapp-internal\hub-webapp-internal-3.0.20 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error assembling WAR Embedded error: Could not explode webapp... d:\Home\LDauvilaire\src\Repository\SVN\JHub\modules\display-webapp\modules\hub-internal\..\..\..\..\target\dev\3.0.20\hub-webapp-internal\hub-webapp-internal-3.0.20\fceditor\editor\dialog\fck_spellerpages\spellerpages\server-scripts\spellchecker.cfm (The filename, directory name, or volume label syntax is incorrect) [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling WAR at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling WAR at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:91) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) ... 16 more Caused by: org.apache.maven.plugin.MojoExecutionException: Could not explode webapp... at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:202) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:108) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:86) ... 18 more Caused by: java.io.FileNotFoundException: d:\Home\LDauvilaire\src\Repository\SVN\JHub\modules\display-webapp\modules\hub-internal\..\..\..\..\target\dev\3.0.20\hub-webapp-internal\hub-webapp-internal-3.0.20\fceditor\editor\dialog\fck_spellerpages\spellerpages\server-scripts\spellchecker.cfm (The filename, directory name, or volume label syntax is incorrect) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:821) at org.apache.maven.plugin.war.AbstractWarMojo.copyResources(AbstractWarMojo.java:230) at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:196) ... 20 more

    Apache's JIRA Issue Tracker | 1 decade ago | Laurent Dauvilaire
    org.apache.maven.lifecycle.LifecycleExecutionException: Could not explode webapp...
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

    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 copy full contents from ..\..\..\..\sonatype-work\nexus\conf\nexus.x ml to ..\..\..\..\sonatype-work\nexus\conf\nexus.xml.old

      at org.codehaus.plexus.util.FileUtils.copyFile()
    2. Plexus Common Utilities
      FileUtils.copyFile
      1. org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:970)
      1 frame
    3. org.sonatype.nexus
      FileConfigurationSource.storeConfiguration
      1. org.sonatype.nexus.configuration.application.source.FileConfigurationSource.saveConfiguration(FileConfigurationSource.java:283)
      2. org.sonatype.nexus.configuration.application.source.FileConfigurationSource.storeConfiguration(FileConfigurationSource.java:192)
      2 frames
    4. ${project.groupId}:${project.artifactId}
      AbstractRepository$1.call
      1. org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.saveConfiguration(DefaultNexusConfiguration.java:224)
      2. org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.applyAndSaveConfiguration(DefaultNexusConfiguration.java:232)
      3. org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.updateRepository(DefaultNexusConfiguration.java:766)
      4. org.sonatype.nexus.DefaultNexus.updateRepository(DefaultNexus.java:538)
      5. org.sonatype.nexus.DefaultNexus.onProximityEvent(DefaultNexus.java:1928)
      6. org.sonatype.nexus.proxy.EventMulticasterComponent.notifyProximityEventListeners(EventMulticasterComponent.java:65)
      7. org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry.onProximityEvent(DefaultRepositoryRegistry.java:366)
      8. org.sonatype.nexus.proxy.EventMulticasterComponent.notifyProximityEventListeners(EventMulticasterComponent.java:65)
      9. org.sonatype.nexus.proxy.repository.AbstractRepository.autoBlockProxying(AbstractRepository.java:361)
      10. org.sonatype.nexus.proxy.repository.AbstractRepository.isRemoteStorageReachable(AbstractRepository.java:553)
      11. org.sonatype.nexus.proxy.repository.AbstractRepository$1.call(AbstractRepository.java:256)
      11 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      5. java.lang.Thread.run(Unknown Source)
      5 frames