IzPack
  1. IzPack
  2. IZPACK-443

Invalid Unexpected end of stream(installer coorupted)

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      WXP JRE 1.5
    • Number of attachments :
      6

      Description

      Hi

      For the same installer ISO-ITU-OSI-100-install.jar, run 3 successives times, I got

      1/ on first run, the bug1.gif attached

      2/ on the second run, the bug2.gif attached

      3/ on the third run, a complete working installation.

      What is going wrong the first 2 times????

      Rgds

      zosrothko

      1. traces first run.txt
        28 kB
        zosrothko
      2. traces second run.txt
        28 kB
        zosrothko
      3. traces third run.txt
        29 kB
        zosrothko
      1. bug1.gif
        18 kB
      2. bug2.gif
        17 kB

        Activity

        Hide
        zosrothko added a comment -

        I tried to join the installer jar but that's not possible since it is about 12Mb and the upper allowed limit for attachment is 10Mb.

        Show
        zosrothko added a comment - I tried to join the installer jar but that's not possible since it is about 12Mb and the upper allowed limit for attachment is 10Mb.
        Hide
        zosrothko added a comment -

        Hi

        This issue is BLOCKING my installation since the final user should retry 3 times to run the install.jar before getting the product installed...
        (I do not find how to increase the priority)

        Please help...

        zosrothko

        Show
        zosrothko added a comment - Hi This issue is BLOCKING my installation since the final user should retry 3 times to run the install.jar before getting the product installed... (I do not find how to increase the priority) Please help... zosrothko
        Hide
        zosrothko added a comment -

        Reduced install.jar with which the problem can be reproduced.

        Show
        zosrothko added a comment - Reduced install.jar with which the problem can be reproduced.
        Hide
        Kjell Braden added a comment -

        Can you reproduce the issue by running the installer from the console with "java -DTRACE=TRUE -DSTACKTRACE=TRUE -jar ISO-ITU-OSI-100-install(2).jar" and attach the resulting output here?

        Show
        Kjell Braden added a comment - Can you reproduce the issue by running the installer from the console with "java -DTRACE=TRUE -DSTACKTRACE=TRUE -jar ISO-ITU-OSI-100-install(2).jar" and attach the resulting output here?
        Hide
        zosrothko added a comment -

        Hi Kiell

        Here the three traces for each runs for:
        java -DTRACE=TRUE -DSTACKTRACE=TRUE -jar ISO-ITU-OSI-100-install(3).jar

        zos

        Show
        zosrothko added a comment - Hi Kiell Here the three traces for each runs for: java -DTRACE=TRUE -DSTACKTRACE=TRUE -jar ISO-ITU-OSI-100-install(3).jar zos
        Hide
        Aftab Vhora added a comment -

        Hi zosrothko,

        In this installer are you copying same file to two diff. places

        i.e. abc.txt to $INSTALL_PATH/abc and $INSTALL_PATH/xyz

        This problem might be because of that...Because of IzPack's feature of back referencing it might be causing problem.

        -Aftab

        Show
        Aftab Vhora added a comment - Hi zosrothko, In this installer are you copying same file to two diff. places i.e. abc.txt to $INSTALL_PATH/abc and $INSTALL_PATH/xyz This problem might be because of that...Because of IzPack's feature of back referencing it might be causing problem. -Aftab
        Hide
        zosrothko added a comment -

        Hi Aftab

        Yes, the installer copies a same file to 2 different places.

        zosrothko

        Show
        zosrothko added a comment - Hi Aftab Yes, the installer copies a same file to 2 different places. zosrothko
        Hide
        Aftab Vhora added a comment -

        Screenshot provides very little information about where exactly its causing problem in the Unpacker.

        I have resolved similar issues in the past in the IzPack code.

        What you may want to try is :

        1. Remove copying same file to diff. location, remove copying from one location.
        2. Write an execuatble which copies that file from one location to other.

        i.e. <file src="abc.txt" todir="$INSTALL_PATH/abc" />
        <file src="abc.txt" todir="$INSTALL_PATH/xyz" /> <!-- REMOVE THIS LINE -->

        Write a script sh/bat file something like this
        copy.sh
        =======
        cp $INSTALL_PATH/abc/abc.txt $INSTALL_PATH/xyz/

        and put this copy.sh in execuatble as well as parsable tag.

        This might resolve your problem.

        -Aftab

        Show
        Aftab Vhora added a comment - Screenshot provides very little information about where exactly its causing problem in the Unpacker. I have resolved similar issues in the past in the IzPack code. What you may want to try is : 1. Remove copying same file to diff. location, remove copying from one location. 2. Write an execuatble which copies that file from one location to other. i.e. <file src="abc.txt" todir="$INSTALL_PATH/abc" /> <file src="abc.txt" todir="$INSTALL_PATH/xyz" /> <!-- REMOVE THIS LINE --> Write a script sh/bat file something like this copy.sh ======= cp $INSTALL_PATH/abc/abc.txt $INSTALL_PATH/xyz/ and put this copy.sh in execuatble as well as parsable tag. This might resolve your problem. -Aftab

          People

          • Assignee:
            Kjell Braden
            Reporter:
            zosrothko
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: