Error During Fisheye Upgrade: Expected Local File Header Signature!

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following appears in the Fisheye/Crucible log:-

java.util.zip.ZipException: config\config.xml: Expected Local File Header Signature!
        at de.schlichtherle.util.zip.BasicZipFile.getInputStream(BasicZipFile.java:1035)
        at de.schlichtherle.util.zip.ZipFile.getInputStream(ZipFile.java:374)
        at de.schlichtherle.util.zip.BasicZipFile.getInputStream(BasicZipFile.java:940)
        at com.cenqua.fisheye.ctl.RestoreConfig.getConfigFromBackup(RestoreConfig.java:71)
        at com.cenqua.fisheye.ctl.Restore.run(Restore.java:153)
        at com.cenqua.fisheye.ctl.Restore.main(Restore.java:267)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:99)
        at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42)

Diagnosis

Extract the generated zip file manually to verify, if the generated backup zip file is not corrupted

Cause

The exception is thrown if the Zip file is corrupted when it was generated/created.

Workaround

Regenerate the Zip file and verify it is not corrupted before performing the upgrade.

Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.