[izpack-devel] Uninstaller bug

Julien Ponge julien.ponge at gmail.com
Thu May 10 09:22:59 CEST 2007


Hi Mark,

Should I delay 3.10.2?

On 5/10/07, Marc Eppelmann <marc.eppelmann at gmx.de> wrote:
> Hi Marius,
>
> It seems that there is a Bug left from my last implemented Feature. I will
> review and fix it this weekend.
>
> PS: But why runs the uninstaller in GUI-Mode, even if the Installer was
> started in non-GUI Mode?
>
> Cheers
> Marc
>
> Am Wednesday 09 May 2007 schrieb Marius Nicolae:
> > Hi,
> >
> > I was trying to build a command line installer/uninstaller using IzPack.
> >
> > The install part can be automated with  an xml file. The uninstall
> > part can be resolved by adding the -c flag to the uninstaller.
> >
> > The problem:
> > If I run the installer without a GUI (using an .xml file as a
> > parameter), the uninstaller encounters a null pointer exception.
> >
> > I've attached a screenshot of the error message.
> >
> > NOTE: To reproduce the error do the following:
> > 1. Run the sample that comes with IzPack, save the xml script for
> > automated installation then uninstalled the sample.
> > 2. Run the installer with the xml script as a parameter. This should
> > install the sample again.
> > 3. Run the uninstaller from Sample Installation/Uninstaller
> >
> > Can we get around this in any way?
> >
> > Best regards,
> > Marius Nicolae
> >
> > PS: this is a copy of the log file. The error is displayed here also.
> > [myHome] represents my home folder
> >
> > 2007-05-09T13:30:26.934 Phase 1: JarFile: [myHome]/Sample
> > Installation/Uninstaller/uninstaller.jar
> > 2007-05-09T13:30:26.987 Phase 1: Extracted 119 files into /tmp/izpack9522.d
> > 2007-05-09T13:30:26.988 Phase 1: Spawning phase 2:
> >         /usr/lib/jvm/java-1.5.0-sun-1.5.0_update8/jre/bin/java
> >         -classpath
> >         /tmp/izpack9522.d
> >         -Dself.mod.base=/tmp/izpack9522
> >         -Dself.mod.jar=[myHome]/Sample
> > Installation/Uninstaller/uninstaller.jar
> > -Dself.mod.class=com.izforge.izpack.uninstaller.Uninstaller
> > -Dself.mod.method=uninstall
> >         -Dself.mod.phase=2
> >         com.izforge.izpack.uninstaller.SelfModifier
> > 2007-05-09T13:30:26.993 Phase 1: Exit
> > 2007-05-09T13:30:28.186 Phase 2: Spawning phase 3:
> >         /usr/lib/jvm/java-1.5.0-sun-1.5.0_update8/jre/bin/java
> >         -classpath
> >         /tmp/izpack9522.d
> >         -Dself.mod.base=/tmp/izpack9522
> >         -Dself.mod.jar=[myHome]/Sample
> > Installation/Uninstaller/uninstaller.jar
> > -Dself.mod.class=com.izforge.izpack.uninstaller.Uninstaller
> > -Dself.mod.method=uninstall
> >         -Dself.mod.phase=3
> >         com.izforge.izpack.uninstaller.SelfModifier
> > 2007-05-09T13:30:28.274 Phase 3: Invoking method:
> > com.izforge.izpack.uninstaller.Uninstaller.uninstall(String[] args)
> > 2007-05-09T13:30:28.514 Phase 3: Method returned, waiting for other threads
> > java.lang.NullPointerException
> >         at
> > java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2213)
> > at
> > java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:
> >2226) at
> > java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.
> >java:2694) at
> > java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761) at
> > java.io.ObjectInputStream.<init>(ObjectInputStream.java:277) at
> > com.izforge.izpack.uninstaller.Destroyer.getRootScript(Destroyer.java:223)
> > at com.izforge.izpack.uninstaller.Destroyer.run(Destroyer.java:119)
> > 2007-05-09T13:32:04.024 Phase 2: deleteing sandbox
> > 2007-05-09T13:32:04.048 Phase 2: Phase 3 return value = 0
>
>
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-devel
>



More information about the izpack-devel mailing list