java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • https://builds.sonatype.org/view/nexus/job/nexus-oss-its/131/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.integrationtests.nexus4635nexusVersion/Nexus4635OldNexusVersionIT/_BeforeMethod_oncePerClassSetUp/ {noformat} Error Message File X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\logs\nexus.log unable to be deleted. Stacktrace java.io.IOException: File X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\logs\nexus.log unable to be deleted. at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1373) at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1625) at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1570) at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1361) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.cleanWorkDir(AbstractNexusIntegrationTest.java:546) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.beforeStartClean(AbstractNexusIntegrationTest.java:440) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassSetUp(AbstractNexusIntegrationTest.java:347) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ... Removed 27 stack frames {noformat}
    via by Peter Lynch,
  • 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
    via by Kristine O'Connor,
  • 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
    via by Kristine O'Connor,
    • java.io.IOException: File X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-test-harness\nexus-test-harness-its\target\nexus\nexus-work-dir\logs\nexus.log unable to be deleted. at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1373) at org.codehaus.plexus.util.FileUtils.cleanDirectory(FileUtils.java:1625) at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1570) at org.codehaus.plexus.util.FileUtils.forceDelete(FileUtils.java:1361) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.cleanWorkDir(AbstractNexusIntegrationTest.java:546) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.beforeStartClean(AbstractNexusIntegrationTest.java:440) at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassSetUp(AbstractNexusIntegrationTest.java:347) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:158) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:98) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)

    Users with the same issue

    pnaranja
    1 times, last one,