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

Sonatype JIRA | Rich Seddon | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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

    Dynmap not working

    GitHub | 5 years ago | Freirec
    java.io.FileNotFoundException: plugins\dynmap\texturepacks\standard\t errain.png (The system cannot find the file specified) 13:01:32 [SEVERE] [dynmap] Error loading texture pack 'standard' - not found 13:01:32 [SEVERE] [dynmap] Error: shader 'stdtexture-mcr-grid' cannot load textu re pack 'standard' 13:01:32 [INFO] [dynmap] Loaded 20 shaders. 13:01:33 [INFO] [dynmap] Loaded 82 perspectives. 13:01:33 [INFO] [dynmap] Loaded 12 lightings. 13:01:33 [INFO] [dynmap] Web server started on address 0.0.0.0:8123 13:01:33 [INFO] [dynmap] version 0.39-1163 is enabled - core version 0.39-259 13:01:33 [INFO] [dynmap] Loaded 3 maps of world 'Minecraft Server'. 13:01:33 [INFO] [dynmap] Loaded 2 maps of world 'Minecraft Server_nether'. 13:01:33 [INFO] [dynmap] Loaded 2 maps of world 'Minecraft Server_the_end'. 13:01:33 [INFO] [dynmap] Loaded 8 pending tile renders for world 'Minecraft Serv er_the_end 13:01:33 [INFO] [dynmap] Enabled 13:01:33 [INFO] [Essentials] Enabling Essentials v2.9.2 13:01:33 [INFO] Essentials: Using GroupManager based permissions. 13:01:33 [INFO] [EssentialsXMPP] Enabling EssentialsXMPP v2.9.2 13:01:33 [WARNING] config broken for xmpp 13:01:33 [INFO] [EssentialsProtect] Enabling EssentialsProtect v2.9.2 13:01:33 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? tr ue; trace: 10] 13:01:33 [INFO] [WorldEdit] Enabling WorldEdit v5.3 13:01:33 [INFO] WEPIF: Using the Bukkit Permissions API. 13:01:34 [INFO] [EssentialsSpawn] Enabling EssentialsSpawn v2.9.2 13:01:34 [INFO] [EssentialsGeoIP] Enabling EssentialsGeoIP v2.9.2 13:01:34 [INFO] [EssentialsGeoIP] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/. 13:01:34 [INFO] [Dynmap-GriefPrevention] Enabling Dynmap-GriefPrevention v0.10 13:01:34 [INFO] [Dynmap-GriefPrevention] initializing 13:01:34 [INFO] [Dynmap-GriefPrevention] version 0.10 is activated 13:01:34 [INFO] [EssentialsChat] Enabling EssentialsChat v2.9.2 13:01:34 [INFO] Server permissions file permissions.yml is empty, ignoring it 13:01:34 [INFO] Reload complete. 13:01:34 [WARNING] Can't keep up! Did the system time change, or is the server o verloaded? 13:01:34 [SEVERE] [dynmap] Exception during render job: world=Minecraft Server_t he_end, map=null 13:01:34 [SEVERE] [dynmap] Exception during render job: world=Minecraft Server_t he_end, map=null 13:01:34 [SEVERE] java.lang.NullPointerException 13:01:34 [SEVERE] at org.dynmap.hdmap.TexturePackHDShader$ShaderState.<ini t>(TexturePackHDShader.java:94) 13:01:34 [SEVERE] at org.dynmap.hdmap.TexturePackHDShader$ShaderState.<ini t>(TexturePackHDShader.java:69) 13:01:34 [SEVERE] at org.dynmap.hdmap.TexturePackHDShader.getStateInstance (TexturePackHDShader.java:229) 13:01:34 [SEVERE] at org.dynmap.hdmap.HDMapManager.getShaderStateForTile(H DMapManager.java:125) 13:01:34 [SEVERE] at org.dynmap.hdmap.IsoHDPerspective.render(IsoHDPerspec tive.java:1198) 13:01:34 [SEVERE] at org.dynmap.hdmap.HDMapTile.render(HDMapTile.java:96) 13:01:34 [SEVERE] at org.dynmap.MapManager$FullWorldRenderState.processTil e(MapManager.java:620) 13:01:34 [INFO] GroupManager - INFO - Bukkit Permissions Updated! 13:01:34 [SEVERE] at org.dynmap.MapManager$FullWorldRenderState.run(MapMan ager.java:566) 13:01:34 [SEVERE] at org.dynmap.MapManager$DynmapScheduledThreadPoolExecut or$1.run(MapManager.java:180) 13:01:34 [SEVERE] at org.dynmap.MapManager$DynmapScheduledThreadPoolExecut or$2.run(MapManager.java:196) 13:01:34 [SEVERE] at java.util.concurrent.Executors$RunnableAdapter.call(U nknown Source) 13:01:34 [SEVERE] at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 13:01:34 [SEVERE] at java.util.concurrent.FutureTask.run(Unknown Source)
  5. 0

    support.PluginAwareResourceBundleMessageSource Could not resolve any resources for plugin

    Stack Overflow | 4 years ago | ken
    java.io.FileNotFoundException: ServletContext resource [/WEB-INF/plugins/logging-2.1.1/grails-app/i18n/] cannot be resolved to URL because it does not exist

    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