javaizpackeofexception

Java - IzPack and EOFException


I have one installer with several packs. None is required. When I mark all, the installation completes with success.

When I mark just two packs, I get EOFException.

Edit

Using trace I can see the stacktrace:

Current focus owner: null.glassPane
java.io.EOFException
    at java.io.DataInputStream.readInt(Unknown Source)
    at java.io.ObjectInputStream$BlockDataInputStream.readInt(Unknown Source)
    at java.io.ObjectInputStream.readInt(Unknown Source)
    at com.izforge.izpack.installer.Unpacker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Edit 2

Found JIRA that is closed, but I'm using the 4.3.4 and get the error. Commenting the "pack200" works.

http://jira.codehaus.org/browse/IZPACK-395


Solution

  • Add '-DTRACE=TRUE' in front of '-jar' of the installer call.

    Refer to documentation section "logging install"