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

J-Pro joker.pro at gmail.com
Mon Dec 11 18:08:43 CET 2006


Good afternoon, Klaus.

The first thing I thought when I saw the exception - that jar-file is 
corupt. That's why I re-downloaded the last IzPack version. The same problem 
still exists.
But still, I've done as you wrote - opened "info" and as last words there is 
now: "..... %$INSTALL_PATH/installinfo/Summary.htmt 0uninstaller.jarp"
So I have correct jar-installer.

The most amazing thing is that version 3.8.1 install works without any 
problem! Even without defined CLASSPATH and JAVA_HOME! Interesting..

Well... ok, if you have no idea what can be here - I'll try to continue 
finding out. Maybe I'll install JDK 1.6.0 beta, considering that you tested 
with it.

I'll write here if I find a solution.


Thank you very much for your time, Klaus.


________________________________
With respect,

Yurii Kartsev,
Soft IT



----- Original Message ----- 
> From: "Bartz, Klaus" <Klaus.Bartz at coi.de>
> Subject: Re: [izpack-users] 3.9.0: java.lang.NullPointerException
> atInstaller.main(Installer.java:62)
> To: <izpack-users at lists.berlios.de>
> Message-ID: <591E33C080D2E5449BB1791B70D66B280139AC42 at coi11.coi.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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!
>>



More information about the izpack-users mailing list