[izpack-users] 3.9.0: java.lang.NullPointerException at Installer.main(Installer.java:62)
J-Pro
joker.pro at gmail.com
Sat Dec 9 12:52:52 CET 2006
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(InstallerBase.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
More information about the izpack-users
mailing list