Clarity upgrade throws exception Unexpected end of ZLIB input stream
search cancel

Clarity upgrade throws exception Unexpected end of ZLIB input stream

book

Article ID: 373389

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

While upgrading clarity from 16.0.3 to 16.1.3 we are finding the following error:

java.io.EOFException: Unexpected end of ZLIB input stream
        at java.base/java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:245)
        at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:159)
        at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:197)
        at java.base/java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:143)
        at jdk.jartool/sun.tools.jar.Main.extractFile(Main.java:1456)
        at jdk.jartool/sun.tools.jar.Main.extract(Main.java:1363)
        at jdk.jartool/sun.tools.jar.Main.run(Main.java:409)
        at jdk.jartool/sun.tools.jar.Main.main(Main.java:1680)

Environment

Clarity 16.1.3

Cause

After mounting the clarity installer ISO in Linux system - The size of the install.jar is 270Mb. Whereas when mounted on local workstation the size of the install.Jar is 8664389 KB(8.664389 GB).

The following command was used to mount the ISO:

sudo mount -t iso9660 -o loop CLARITY_PPM_1613.iso /data/third_party/Clarity1613/clarity

 

Resolution

The following possible solutions:

  • Mount without using the ISO compression syntax ( -t iso9660)
  • Mount ISO on a local system and copy the install.jar to the Linux application server via SSH