java.nio.file.DirectoryNotEmptyException

/Users/plynch/dev/sonatype/nexus-all/nexus-bundles/assemblies/nexus-pro/target/nexus-professional-2.11.2-06-bundle/sonatype-work/nexus/trash/npm-proxy

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web8

  • via Unknown by Peter Lynch,
  • via Unknown by Rich Seddon,
  • Stack trace

    • java.nio.file.DirectoryNotEmptyException: /Users/plynch/dev/sonatype
    • exus-all
    • exus-bundles/assemblies
    • exus-pro/target
    • exus-professional-2.11.2-06-bundle/sonatype-work
    • exus/trash
    • pm-proxy at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:445)[na:1.8.0_40] at sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:262)[na:1.8.0_40] at java.nio.file.Files.move(Files.java:1395)[na:1.8.0_40] at org.sonatype.nexus.util.file.DirSupport.sameFileStoreMove(DirSupport.java:405)[nexus-core-2.11.2-06.jar:2.11.2-06] at org.sonatype.nexus.util.file.DirSupport.move(DirSupport.java:450)[nexus-core-2.11.2-06.jar:2.11.2-06] at org.sonatype.nexus.util.file.DirSupport.moveIfExists(DirSupport.java:465)[nexus-core-2.11.2-06.jar:2.11.2-06] at org.sonatype.nexus.proxy.wastebasket.AbstractRepositoryFolderCleaner.delete(AbstractRepositoryFolderCleaner.java:54)[nexus-core-2.11.2-06.jar:2.11.2-06] at org.sonatype.nexus.proxy.wastebasket.CoreRepositoryFolderCleaner.cleanRepositoryFolders(CoreRepositoryFolderCleaner.java:45)[nexus-core-2.11.2-06.jar:2.11.2-06] at org.sonatype.nexus.proxy.wastebasket.DefaultRepositoryFolderRemover.deleteRepositoryFolders(DefaultRepositoryFolderRemover.java:45)[nexus-core-2.11.2-06.jar:2.11.2-06] at org.sonatype.nexus.tasks.DeleteRepositoryFoldersTask.doRun(DeleteRepositoryFoldersTask.java:73)[nexus-core-2.11.2-06.jar:2.11.2-06] at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151)[nexus-core-2.11.2-06.jar:2.11.2-06] at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418)[nexus-scheduler-2.11.2-06.jar:2.11.2-06] at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44)[nexus-core-2.11.2-06.jar:2.11.2-06] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.3.jar:1.2.3] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.3.jar:1.2.3] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_40] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[na:1.8.0_40] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.8.0_40] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_40] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_40] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_40]

    Write tip

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

    Users with the same issue

    We couldn't find other users who have seen this exception.