java.util.zip.ZipException

Not in GZIP format

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 web115

  • via Unknown by Wentao Liu,
  • via Unknown by Wentao Liu,
  • via GitHub by leerobert
    ,
  • Stack trace

    • java.util.zip.ZipException: Not in GZIP format at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:164) at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:78) at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:90) at org.apache.tools.ant.taskdefs.Untar$UntarCompressionMethod.decompress(Untar.java:235) at org.apache.tools.ant.taskdefs.Untar.expandStream(Untar.java:158) at org.apache.tools.ant.taskdefs.Untar.expandFile(Untar.java:114) at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) at org.apache.ivy.ant.AntCallTrigger.progress(AntCallTrigger.java:89) at org.apache.ivy.core.event.FilteredIvyListener.progress(FilteredIvyListener.java:42) at org.apache.ivy.core.event.EventManager.fireIvyEvent(EventManager.java:64) at org.apache.ivy.plugins.resolver.AbstractResolver$1.endArtifactDownload(AbstractResolver.java:489) at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.download(DefaultRepositoryCacheManager.java:1012) at org.apache.ivy.plugins.resolver.BasicResolver.download(BasicResolver.java:837) at org.apache.ivy.plugins.resolver.RepositoryResolver.download(RepositoryResolver.java:285) at org.apache.ivy.plugins.resolver.IBiblioResolver.download(IBiblioResolver.java:511) at org.apache.ivy.plugins.resolver.ChainResolver.download(ChainResolver.java:217) at org.apache.ivy.core.resolve.ResolveEngine.downloadArtifacts(ResolveEngine.java:394) at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:338) at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:197) at org.apache.ivy.Ivy.resolve(Ivy.java:508) at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:330) at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:271) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.apache.tools.ant.Main.runBuild(Main.java:851) at org.apache.tools.ant.Main.startAnt(Main.java:235) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

    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

    Unknown visitor
    Unknown visitorOnce,
    aldrinlealaldrinleal
    Once,
    stigkjstigkj
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    chandakvishalchandakvishal
    Once,
    2 more bugmates