4 Replies Latest reply on Mar 7, 2018 3:35 PM by Gaétan QUENTIN

    java.util.zip.ZipError: zip END header not found

    Gaétan QUENTIN Newbie

      Trying to run gerrit code review on wildfly 11:

       

      gerrit version >=2.14.3

      java version "1.8.0_161"

      Java(TM) SE Runtime Environment (build 1.8.0_161-b12)

      Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

      ubuntu 16.04:

       

       

       

      the deployment works ok but when accessing it on url http://wildflyurl/gerrit  i have this error:

       

      2018-02-25 11:33:21,595 INFO  [com.google.gerrit.server.cache.h2.H2CacheFactory] (default task-23) Enabling disk cache /data/gerrit/cache

      2018-02-25 11:33:22,767 INFO  [com.google.gerrit.server.config.ScheduleConfig] (default task-23) gc schedule parameter "gc.interval" is not configured

      2018-02-25 11:33:22,767 INFO  [com.google.gerrit.server.config.ScheduleConfig] (default task-23) changeCleanup schedule parameter "changeCleanup.interval" is not configured

      2018-02-25 11:33:23,546 WARN  [com.google.gerrit.sshd.SshDaemon] (default task-23) Cannot format SSHD host key [EdDSA]: invalid key type

      2018-02-25 11:33:23,664 ERROR [io.undertow.request] (default task-23) UT005023: Exception handling request to /gerrit/: java.util.zip.ZipError: zip END header not found

              at com.sun.nio.zipfs.ZipFileSystem.zerror(ZipFileSystem.java:1605)

              at com.sun.nio.zipfs.ZipFileSystem.findEND(ZipFileSystem.java:1021)

              at com.sun.nio.zipfs.ZipFileSystem.initCEN(ZipFileSystem.java:1030)

              at com.sun.nio.zipfs.ZipFileSystem.<init>(ZipFileSystem.java:130)

              at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:117)

       

       

      is with a wildfly problem or gerrit one?

       

      Regards