sonatype / nexus-ruby-support

26 stars 7 forks source link

Path /.nexus/trash/ not found in local storage on gems repo #53

Closed jamlevi closed 10 years ago

jamlevi commented 10 years ago

empty trash task throws this stack trace from gems repo

using nexus-2.7.2 & nexus-ruby-plugin-1.3.0

Task Name: empty_the_trash Stack trace: org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='opower-gems' from path='/.nexus/trash/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:162) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:128) at org.sonatype.nexus.proxy.wastebasket.DefaultWastebasket.purge(DefaultWastebasket.java:192) at org.sonatype.nexus.proxy.wastebasket.DefaultWastebasket.purgeAll(DefaultWastebasket.java:131) at org.sonatype.nexus.proxy.wastebasket.DefaultWastebasket.purgeAll(DefaultWastebasket.java:123) at org.sonatype.nexus.tasks.EmptyTrashTask.doRun(EmptyTrashTask.java:59) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:157) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:419) at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:45) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.sonatype.nexus.proxy.ItemNotFoundException: Path /.nexus/trash/ not found in local storage of repository "Opower Gems" [id=opower-gems] at org.sonatype.nexus.plugins.ruby.NexusLayout.fromResourceStoreRequest(NexusLayout.java:124) at org.sonatype.nexus.plugins.ruby.hosted.DefaultHostedRubyRepository.retrieveItem(DefaultHostedRubyRepository.java:210) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:82) ... 15 more

jamlevi commented 10 years ago

see if you can access https://support.sonatype.com/requests/4759

if not, I have a pdf, but I can't seem to attach it here.

mkristian commented 10 years ago

I think I have enough info to fix this.

mkristian commented 10 years ago

I would like to release a bug fix version end of this week (or beginning of next week). would that be OK for you ?

jamlevi commented 10 years ago

a little late, but that's fine. it's not a showstopper at all.

mkristian commented 10 years ago

actually I did make a release with that fix in it: http://central.maven.org/maven2/org/sonatype/nexus/plugins/nexus-ruby-plugin/1.4.1/

but I am planning a new release next week - more little bug fixes ;)