java.io.FileNotFoundException: nexus-maven-repository-index.zip (Forbidden)

Sonatype JIRA | Rich Seddon | 6 years ago
  1. 0

    Nexus throws an NPE if the download of indexes is blocked by corporate firewall policy: {noformat} 2011-02-24 20:30:00 INFO [pool-1-thread-4] - o.s.n.p.m.m.M2Repos~ - Clearing NFC cache in repository ID='central' from path='/.index' 2011-02-24 20:30:00 INFO [pool-1-thread-4] - o.s.n.p.s.r.c.Commo~ - Remote storage settings change detected for ProxyRepository ID="central" ("Maven Central"), updating HttpClient... 2011-02-24 20:49:18 WARN [pool-1-thread-4] - o.s.n.i.DefaultInde~ - Cannot fetch remote index for repository central java.io.FileNotFoundException: nexus-maven-repository-index.zip (Forbidden) at org.sonatype.nexus.index.DefaultIndexerManager$2.retrieve(DefaultIndexerManager.java:1091) at org.apache.maven.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:190) at org.apache.maven.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:75) at org.apache.maven.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:641) at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:875) at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:156) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1111) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1013) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:897) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:810) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:47) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:80) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2011-02-24 20:49:51 INFO [pool-1-thread-4] - o.s.n.f.DefaultFeed~ - Updating all registered repositories index : Process started on Thu Feb 24 20:29:15 EST 2011, finished on Thu Feb 24 20:49:51 EST 2011 with error. Error message is: java.io.IOException, Error scanning context central-ctx: java.lang.NullPointerException Strack trace: java.io.IOException: Error scanning context central-ctx: java.lang.NullPointerException at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:300) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:903) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:810) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:47) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:80) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at org.apache.maven.index.context.IndexUtils.updateTimestamp(IndexUtils.java:175) at org.apache.maven.index.context.DefaultIndexingContext.updateTimestamp(DefaultIndexingContext.java:418) at org.apache.maven.index.context.DefaultIndexingContext.updateTimestamp(DefaultIndexingContext.java:408) at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:293) ... 13 more java.io.IOException: Error scanning context central-ctx: java.lang.NullPointerException at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:300) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:903) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:810) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:47) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:80) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at org.apache.maven.index.context.IndexUtils.updateTimestamp(IndexUtils.java:175) at org.apache.maven.index.context.DefaultIndexingContext.updateTimestamp(DefaultIndexingContext.java:418) at org.apache.maven.index.context.DefaultIndexingContext.updateTimestamp(DefaultIndexingContext.java:408) at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:293) ... 13 more {noformat}

    Sonatype JIRA | 6 years ago | Rich Seddon
    java.io.FileNotFoundException: nexus-maven-repository-index.zip (Forbidden)
  2. 0

    Nexus throws an NPE if the download of indexes is blocked by corporate firewall policy: {noformat} 2011-02-24 20:30:00 INFO [pool-1-thread-4] - o.s.n.p.m.m.M2Repos~ - Clearing NFC cache in repository ID='central' from path='/.index' 2011-02-24 20:30:00 INFO [pool-1-thread-4] - o.s.n.p.s.r.c.Commo~ - Remote storage settings change detected for ProxyRepository ID="central" ("Maven Central"), updating HttpClient... 2011-02-24 20:49:18 WARN [pool-1-thread-4] - o.s.n.i.DefaultInde~ - Cannot fetch remote index for repository central java.io.FileNotFoundException: nexus-maven-repository-index.zip (Forbidden) at org.sonatype.nexus.index.DefaultIndexerManager$2.retrieve(DefaultIndexerManager.java:1091) at org.apache.maven.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:190) at org.apache.maven.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:75) at org.apache.maven.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:641) at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:875) at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:156) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1111) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1013) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:897) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:810) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:47) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:80) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2011-02-24 20:49:51 INFO [pool-1-thread-4] - o.s.n.f.DefaultFeed~ - Updating all registered repositories index : Process started on Thu Feb 24 20:29:15 EST 2011, finished on Thu Feb 24 20:49:51 EST 2011 with error. Error message is: java.io.IOException, Error scanning context central-ctx: java.lang.NullPointerException Strack trace: java.io.IOException: Error scanning context central-ctx: java.lang.NullPointerException at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:300) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:903) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:810) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:47) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:80) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at org.apache.maven.index.context.IndexUtils.updateTimestamp(IndexUtils.java:175) at org.apache.maven.index.context.DefaultIndexingContext.updateTimestamp(DefaultIndexingContext.java:418) at org.apache.maven.index.context.DefaultIndexingContext.updateTimestamp(DefaultIndexingContext.java:408) at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:293) ... 13 more java.io.IOException: Error scanning context central-ctx: java.lang.NullPointerException at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:300) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:903) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:810) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:47) at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:80) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at org.apache.maven.index.context.IndexUtils.updateTimestamp(IndexUtils.java:175) at org.apache.maven.index.context.DefaultIndexingContext.updateTimestamp(DefaultIndexingContext.java:418) at org.apache.maven.index.context.DefaultIndexingContext.updateTimestamp(DefaultIndexingContext.java:408) at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:293) ... 13 more {noformat}

    Sonatype JIRA | 6 years ago | Rich Seddon
    java.io.FileNotFoundException: nexus-maven-repository-index.zip (Forbidden)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    2009-07-09 03:00:26 INFO [ool-1-thread-15] - o.s.n.m.t.SnapshotR~:default - Removing old SNAPSHOT deployments from cg.snapshots repository. 2009-07-09 03:08:32 INFO [ool-1-thread-15] - o.s.n.p.w.Walker:default - Aborted walking on repository ID='cg.snapshots' from path='/', cause: java.lang.NullPointerException at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3020) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1738) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1479) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:63) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:137) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:130) at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:109) at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:94) at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:48) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:44) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:49) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:861) at org.sonatype.nexus.proxy.attributes.DefaultAttributeStorage.doGetAttributes(DefaultAttributeStorage.java:294) at org.sonatype.nexus.proxy.attributes.DefaultAttributeStorage.getAttributes(DefaultAttributeStorage.java:177) at org.sonatype.nexus.proxy.attributes.DefaultAttributesHandler.fetchAttributes(DefaultAttributesHandler.java:138) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile(DefaultFSLocalRepositoryStorage.java:240) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.listItems(DefaultFSLocalRepositoryStorage.java:450) at org.sonatype.nexus.proxy.repository.AbstractRepository.doListItems(AbstractRepository.java:1191) at org.sonatype.nexus.proxy.repository.AbstractRepository.list(AbstractRepository.java:1008) at org.sonatype.nexus.proxy.repository.AbstractRepository.list(AbstractRepository.java:1024) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:234) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:128) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:48) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshotsFromMavenRepository(DefaultSnapshotRemover.java:176) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshots(DefaultSnapshotRemover.java:98) at org.sonatype.nexus.DefaultNexus.removeSnapshots(DefaultNexus.java:884) at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:94) at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:30) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) 2009-07-09 03:08:32 INFO [ool-1-thread-15] - o.s.n.f.FeedRecorder:default - Removing snapshots from repository Repository for cg snapshots artifacts : Process started on Thu Jul 09 03:00:26 CEST 2009, finished on Thu Jul 09 03:08:32 CEST 2009 with error. Error message is: org.sonatype.nexus.proxy.walker.WalkerException, Aborted walking on repository ID='cg.snapshots' from path='/'. Strack trace: org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='cg.snapshots' from path='/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:170) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:136) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:48) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshotsFromMavenRepository(DefaultSnapshotRemover.java:176) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshots(DefaultSnapshotRemover.java:98) at org.sonatype.nexus.DefaultNexus.removeSnapshots(DefaultNexus.java:884) at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:94) at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:30) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3020) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1738) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1479) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:63) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:137) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:130) at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:109) at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:94) at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:48) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:44) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:49) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:861) at org.sonatype.nexus.proxy.attributes.DefaultAttributeStorage.doGetAttributes(DefaultAttributeStorage.java:294) at org.sonatype.nexus.proxy.attributes.DefaultAttributeStorage.getAttributes(DefaultAttributeStorage.java:177) at org.sonatype.nexus.proxy.attributes.DefaultAttributesHandler.fetchAttributes(DefaultAttributesHandler.java:138) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile(DefaultFSLocalRepositoryStorage.java:240) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.listItems(DefaultFSLocalRepositoryStorage.java:450) at org.sonatype.nexus.proxy.repository.AbstractRepository.doListItems(AbstractRepository.java:1191) at org.sonatype.nexus.proxy.repository.AbstractRepository.list(AbstractRepository.java:1008) at org.sonatype.nexus.proxy.repository.AbstractRepository.list(AbstractRepository.java:1024) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:234) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:128) ... 15 more org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='cg.snapshots' from path='/'. at org.sonatype.nexus.proxy.walker.DefaultWalker.reportWalkEnd(DefaultWalker.java:170) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:136) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:48) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshotsFromMavenRepository(DefaultSnapshotRemover.java:176) at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshots(DefaultSnapshotRemover.java:98) at org.sonatype.nexus.DefaultNexus.removeSnapshots(DefaultNexus.java:884) at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:94) at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:30) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3020) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1738) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1479) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:63) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:137) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:130) at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:109) at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:94) at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:48) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:44) at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:49) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:861) at org.sonatype.nexus.proxy.attributes.DefaultAttributeStorage.doGetAttributes(DefaultAttributeStorage.java:294) at org.sonatype.nexus.proxy.attributes.DefaultAttributeStorage.getAttributes(DefaultAttributeStorage.java:177) at org.sonatype.nexus.proxy.attributes.DefaultAttributesHandler.fetchAttributes(DefaultAttributesHandler.java:138) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile(DefaultFSLocalRepositoryStorage.java:240) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.listItems(DefaultFSLocalRepositoryStorage.java:450) at org.sonatype.nexus.proxy.repository.AbstractRepository.doListItems(AbstractRepository.java:1191) at org.sonatype.nexus.proxy.repository.AbstractRepository.list(AbstractRepository.java:1008) at org.sonatype.nexus.proxy.repository.AbstractRepository.list(AbstractRepository.java:1024) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:234) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:255) at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:128) ... 15 more 2009-07-09 03:09:50 INFO [qtp0-5471 ] - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [deployment] from address/host [172.16.8.66/172.16.8.66] 2009-07-09 03:09:54 INFO [qtp0-5475 ] - o.s.n.s.f.a.NexusSe~ - Successfully authenticated user [deployment] from address/host [172.16.8.66/172.16.8.66] 2009-07-09 04:00:01 INFO [ool-1-thread-15] - o.s.n.f.FeedRecorder:default - Downloading indexes for all registered repositories : Process started on Thu Jul 09 04:00:01 CEST 2009, not yet finished. 2009-07-09 04:00:01 INFO [ool-1-thread-15] - o.s.n.i.IndexerMana~:default - Trying to get remote index for repository flex.releases 2009-07-09 04:00:01 INFO [ool-1-thread-15] - o.s.n.p.r.Repository:maven2 - Expiring local cache in repository ID='flex.releases' from path='/.index' 2009-07-09 04:00:01 INFO [ool-1-thread-15] - o.s.n.p.r.Repository:maven2 - Clearing NFC cache in repository ID='flex.releases' from path='/.index' 2009-07-09 04:00:01 INFO [ool-1-thread-15] - o.a.c.h.a.AuthChall~ - Basic authentication scheme selected 2009-07-09 04:00:02 INFO [ool-1-thread-15] - o.s.n.i.IndexerMana~:default - Remote indexes unchanged (no update needed) for repository flex.releases 2009-07-09 04:00:02 INFO [ool-1-thread-15] - o.s.n.i.IndexerMana~:default - Trying to get remote index for repository codehaus-snapshots 2009-07-09 04:00:02 INFO [ool-1-thread-15] - o.s.n.p.r.Repository:maven2 - Expiring local cache in repository ID='codehaus-snapshots' from path='/.index' 2009-07-09 04:00:02 INFO [ool-1-thread-15] - o.s.n.p.r.Repository:maven2 - Clearing NFC cache in repository ID='codehaus-snapshots' from path='/.index' 2009-07-09 04:00:02 INFO [ool-1-thread-15] - o.a.c.h.a.AuthChall~ - Basic authentication scheme selected 2009-07-09 04:00:02 INFO [ool-1-thread-15] - o.a.c.h.a.AuthChall~ - Basic authentication scheme selected 2009-07-09 04:00:02 WARN [ool-1-thread-15] - o.s.n.i.IndexerMana~:default - Cannot fetch remote index: java.io.FileNotFoundException: nexus-maven-repository-index.zip (item not found) at org.sonatype.nexus.index.DefaultIndexerManager$1.retrieve(DefaultIndexerManager.java:714) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:178) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:108) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:724) at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:596) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:563) at org.sonatype.nexus.index.DefaultIndexerManager.downloadAllIndex(DefaultIndexerManager.java:514) at org.sonatype.nexus.DefaultNexus.downloadAllIndex(DefaultNexus.java:1336) at org.sonatype.nexus.tasks.DownloadIndexesTask.doRun(DownloadIndexesTask.java:49) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) 2009-07-09 04:00:02 INFO [ool-1-thread-15] - o.s.n.i.IndexerMana~:default - Trying to get remote index for repository flex-mojos-repository 2009-07-09 04:00:02 INFO [ool-1-thread-15] - o.s.n.p.r.Repository:maven2 - Expiring local cache in repository ID='flex-mojos-repository' from path='/.index' 2009-07-09 04:00:02 INFO [ool-1-thread-15] - o.s.n.p.r.Repository:maven2 - Clearing NFC cache in repository ID='flex-mojos-repository' from path='/.index' 2009-07-09 04:00:02 INFO [ool-1-thread-15] - o.a.c.h.a.AuthChall~ - Basic authentication scheme selected 2009-07-09 04:00:03 INFO [ool-1-thread-15] - o.s.n.i.IndexerMana~:default - Remote indexes unchanged (no update needed) for repository flex-mojos-repository 2009-07-09 04:00:03 INFO [ool-1-thread-15] - o.s.n.i.IndexerMana~:default - Trying to get remote index for repository apache.snapshot 2009-07-09 04:00:03 INFO [ool-1-thread-15] - o.s.n.p.r.Repository:maven2 - Expiring local cache in repository ID='apache.snapshot' from path='/.index' 2009-07-09 04:00:03 INFO [ool-1-thread-15] - o.s.n.p.r.Repository:maven2 - Clearing NFC cache in repository ID='apache.snapshot' from path='/.index' 2009-07-09 04:00:03 INFO [ool-1-thread-15] - o.a.c.h.a.AuthChall~ - Basic authentication scheme selected 2009-07-09 04:00:03 INFO [ool-1-thread-15] - o.a.c.h.a.AuthChall~ - Basic authentication scheme selected 2009-07-09 04:00:03 WARN [ool-1-thread-15] - o.s.n.i.IndexerMana~:default - Cannot fetch remote index: java.io.FileNotFoundException: nexus-maven-repository-index.zip (item not found) at org.sonatype.nexus.index.DefaultIndexerManager$1.retrieve(DefaultIndexerManager.java:714) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:178) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:108) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:724) at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:596) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:563) at org.sonatype.nexus.index.DefaultIndexerManager.downloadAllIndex(DefaultIndexerManager.java:514) at org.sonatype.nexus.DefaultNexus.downloadAllIndex(DefaultNexus.java:1336) at org.sonatype.nexus.tasks.DownloadIndexesTask.doRun(DownloadIndexesTask.java:49) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

    Sonatype JIRA | 7 years ago | Deleted User
    java.io.FileNotFoundException: nexus-maven-repository-index.zip (item not found)
  5. 0

    None of the proxy repos set up seem to ever re-index - when I manually initiate a re-indexing, I see the below error in the logs. If I select to not Download Remote Indexes, then the exception goes away, but the proxy repos still do not download the assets. 2009-05-13 15:06:07 DEBUG [ool-1-thread-14] - o.s.n.p.w.Walker:default - Finished walking on ResourceStore 'apache.incubating' from path '/.index'. 2009-05-13 15:06:07 INFO [ool-1-thread-14] - o.s.n.p.r.Repository:maven2 - Clearing NFC cache in repository ID='apache.incubating' from path='/.index' 2009-05-13 15:06:07 DEBUG [ool-1-thread-14] - o.s.n.p.r.Repository:maven2 - Notifying 1 EventListener about event org.sonatype.nexus.proxy.events.RepositoryEventClearCaches fired (org.sonatype.nexus.proxy.events.RepositoryEventClearCaches@1239684) 2009-05-13 15:06:07 DEBUG [ool-1-thread-14] - o.s.n.p.r.Repositor~:default - Notifying 3 EventListener about event org.sonatype.nexus.proxy.events.RepositoryEventClearCaches fired (org.sonatype.nexus.proxy.events.RepositoryEventClearCaches@1239684) 2009-05-13 15:06:07 DEBUG [ool-1-thread-14] - o.s.n.p.s.r.RemoteR~:apacheH~ - Invoking HTTP GET method against remote location http://people.apache.org/repo/m2-incubating-repository/.index/nexus-maven-repository-index.gz 2009-05-13 15:06:08 DEBUG [ool-1-thread-14] - o.s.n.p.s.r.RemoteR~:apacheH~ - Invoking HTTP GET method against remote location http://people.apache.org/repo/m2-incubating-repository/.index/nexus-maven-repository-index.zip 2009-05-13 15:06:08 WARN [ool-1-thread-14] - o.s.n.i.IndexerMana~:default - Cannot fetch remote index: java.io.FileNotFoundException: nexus-maven-repository-index.zip (item not found) at org.sonatype.nexus.index.DefaultIndexerManager$1.retrieve(DefaultIndexerManager.java:729) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:178) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:108) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:739) at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:608) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:575) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:487) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:442) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:40) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) 2009-05-13 15:06:08 INFO [ool-1-thread-14] - o.s.n.i.IndexerMana~:default - Cascading merge of group indexes for group 'public', where repository 'apache.incubating' is member. Anything you can suggest to help alleviate would be appreciated - Aaron Anderson / andersona@gsicommerce.com

    Sonatype JIRA | 8 years ago | Aaron Anderson
    java.io.FileNotFoundException: nexus-maven-repository-index.zip (item not found)

    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.FileNotFoundException

      nexus-maven-repository-index.zip (Forbidden)

      at org.sonatype.nexus.index.DefaultIndexerManager$2.retrieve()
    2. Sonatype Nexus Indexer
      DefaultIndexerManager$2.retrieve
      1. org.sonatype.nexus.index.DefaultIndexerManager$2.retrieve(DefaultIndexerManager.java:1091)
      1 frame
    3. Maven :: Indexer Core
      DefaultIndexUpdater.fetchAndUpdateIndex
      1. org.apache.maven.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:190)
      2. org.apache.maven.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:75)
      3. org.apache.maven.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:641)
      4. org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:875)
      5. org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:156)
      5 frames
    4. Sonatype Nexus Indexer
      DefaultIndexerManager.reindexAllRepositories
      1. org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1111)
      2. org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1013)
      3. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:897)
      4. org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:810)
      4 frames
    5. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexAllRepositories(ReindexTaskHandlerLegacy.java:47)
      2. org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:80)
      3. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192)
      3 frames
    6. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338)
      1 frame
    7. 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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      7. java.lang.Thread.run(Unknown Source)
      7 frames