java.io.IOException: Not in GZIP format

Sonatype JIRA | Deleted User | 8 years ago
  1. 0

    I got this error when I try to index or re-index. 2009-05-11 12:43:26 WARN [pool-1-thread-1] - o.s.n.i.IndexerMana~:default - Cannot fetch remote index: java.io.IOException: Not in GZIP format at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:156) at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:82) at org.sonatype.nexus.index.updater.IndexDataReader.<init>(IndexDataReader.java:40) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:489) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:188) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:103) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:720) at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:592) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:559) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:473) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:429) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1324) 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:284) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:80) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:183) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:810)

    Sonatype JIRA | 8 years ago | Deleted User
    java.io.IOException: Not in GZIP format
  2. 0

    I got this error when I try to index or re-index. 2009-05-11 12:43:26 WARN [pool-1-thread-1] - o.s.n.i.IndexerMana~:default - Cannot fetch remote index: java.io.IOException: Not in GZIP format at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:156) at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:82) at org.sonatype.nexus.index.updater.IndexDataReader.<init>(IndexDataReader.java:40) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:489) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:188) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:103) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:720) at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:592) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:559) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:473) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:429) at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1324) 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:284) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:80) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:183) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:810)

    Sonatype JIRA | 8 years ago | Deleted User
    java.io.IOException: Not in GZIP format
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.io.IOException: Not in GZIP format Exception

    Stack Overflow | 5 years ago | user1442189
    java.io.IOException: Not in GZIP format
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.IOException

    Not in GZIP format

    at java.util.zip.GZIPInputStream.readHeader()
  2. Java RT
    GZIPInputStream.<init>
    1. java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:156)
    2. java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:82)
    2 frames
  3. Sonatype Nexus Indexer
    DefaultIndexerManager.reindexRepository
    1. org.sonatype.nexus.index.updater.IndexDataReader.<init>(IndexDataReader.java:40)
    2. org.sonatype.nexus.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:489)
    3. org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:188)
    4. org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:103)
    5. org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:720)
    6. org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:592)
    7. org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:559)
    8. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:473)
    9. org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:429)
    9 frames
  4. ${project.groupId}:${project.artifactId}
    AbstractNexusTask.call
    1. org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1324)
    2. org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:40)
    3. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139)
    3 frames
  5. ${project.groupId}:${project.artifactId}
    DefaultScheduledTask.call
    1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342)
    1 frame
  6. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:80)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:183)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
    7. java.lang.Thread.run(Thread.java:810)
    7 frames