Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-1087

Empty trash showing broken, although system feeds show successful and files/folders in trash dir are removed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              koconnor Kristine O'Connor
              Last Updated By:
              Rich Seddon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: