[izpack-users] 3.9.0: java.lang.NullPointerException atInstaller.main(Installer.java:62)

Bartz, Klaus Klaus.Bartz at coi.de
Mon Dec 11 09:08:29 CET 2006


Hi Yurii,
you know, we do not like the 1.5 VM because there are some
problems at some points.
But the exception you have got should not be. I have tested with
VM 1.4.2_06, 1.5.0_06 and 1.6.0_beta. No exceptions.
May be your IzPack-install-3.9.0.jar is corrupt. To verify open it
with an unzipper like WinZip and look into "info" (with WinZip e.g.
you can choose after selection via context menu the editor to be
used). The last entry in "info" is "uninstaller.jarp".
If you cannot open the jar file or not open "info" or the last
entry isn't there, your copy of the jar file will be corrupt.
Else I do not know in the moment...

Cheers

Klaus

>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of J-Pro
>Sent: Saturday, December 09, 2006 12:53 PM
>To: Iz Pack
>Subject: [izpack-users] 3.9.0: java.lang.NullPointerException
>atInstaller.main(Installer.java:62)
>
>
>Good day, dear IzPack developers.
>
>I renewed my computer, reinstalled all the soft I had, but 
>have problem with 
>IzPack 3.9.0 installation. Version 3.8.1 installs without any 
>problem, but 
>3.9.0 gives this error when I run "java -jar IzPack-install-3.9.0.jar":
>
>java.lang.NullPointerException
>java.lang.NullPointerException
>        at 
>java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
>        at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown 
>Source)
>        at 
>java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown 
>Source)
>        at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
>        at java.io.ObjectInputStream.<init>(Unknown Source)
>        at 
>com.izforge.izpack.installer.InstallerBase.loadInstallData(Inst
>allerBase.java:90)
>        at 
>com.izforge.izpack.installer.GUIInstaller.<init>(GUIInstaller.java:110)
>        at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
>Method)
>        at 
>sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown 
>Source)
>        at 
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
>Source)
>        at java.lang.reflect.Constructor.newInstance(Unknown Source)
>        at java.lang.Class.newInstance0(Unknown Source)
>        at java.lang.Class.newInstance(Unknown Source)
>        at 
>com.izforge.izpack.installer.Installer.main(Installer.java:62)
>
>
>But if I run it as "java IzPack-install-3.9.0.jar", I get this:
>
>Exception in thread "main" java.lang.NoClassDefFoundError: 
>IzPack-install-3/9/0/jar
>
>
>I can't understand what's the problem. Already reinstalld JRE 
>and JDK from 
>Program Files to C:\Java, to have no spaces in the path, 
>defined CLASSPATH 
>and JAVA_HOME with "C:\Java\jdk1.5.0_09" - didn't help. I've 
>already opened 
>3.9.0 sources in IDEA IDE, compiled, run it and got the same 
>error. The 
>place is where the "/info" resource is loaded.
>
>Have no clue why 3.8.1 installs ok, but 3.9.0 fails... Can you 
>help me with 
>it please?
>
>
>I have Windows XP SP2 here, JDK and JRE versions 1.5.
>
>
>
>Thank you in advance!
>
>
>________________________________
>With respect,
>
>Yurii Kartsev,
>Soft IT 
>
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>https://lists.berlios.de/mailman/listinfo/izpack-users
>



More information about the izpack-users mailing list