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

J-Pro joker.pro at gmail.com
Tue Dec 12 12:50:53 CET 2006


Klaus, just want to correct one thing:

> On my box the line is
> "..... %$INSTALL_PATH/installinfo/Summary.htmt..uninstaller.jarp"
> with         0x00 0x0f -----------------------^^
>

Mine has the same, I've just copied ASCII symbols and 0f symbol(like a star) copied as '0' - haven't noticed that.

So I have the same as you do: 00 0F between "...htmt" and "uninstaller.jarp".


Continuing finding out where does the problem lie...


________________________________
With respect,

Yurii Kartsev,
Soft IT




----- Original Message ----- 

>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of J-Pro
>To: Iz Pack
>Subject: [izpack-users] 3.9.0: java.lang.NullPointerException
>atInstaller.main(Installer.java:62)
>
>Hi, Klaus.
>
>You know, I've just tested the same jar-file on a colleague's computer, it has the same jdk and jre as mine has:
>1.5.0_09. It works well there. But I have this exception. Can't understand why. Maybe you remember any cases when a
>process interferes with installation process? Just assuming... the same OS, the same java environment and such 
>different
>results...
>
>Well, anyway, I'm trying to find it out, if any good news appear - I get you know.
>
>Thanks again for your help.
>
>
>________________________________
>With respect,
>
>Yurii Kartsev,
>Soft IT
>
>> Date: Tue, 12 Dec 2006 09:04:08 +0100
>> 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: <591E33C080D2E5449BB1791B70D66B28C3FAAE at coi11.coi.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hi Yurii,
>> test also with 1.4.x.
>> On my box the line is
>> "..... %$INSTALL_PATH/installinfo/Summary.htmt..uninstaller.jarp"
>> with         0x00 0x0f -----------------------^^
>>
>> But the diff can be a different viewing in different view programs.
>> Yes, I have no idea in the moment.
>> If you find the reason, let us know.
>>
>> 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: Monday, December 11, 2006 6:09 PM
>>>To: Iz Pack
>>>Subject: [izpack-users] 3.9.0: java.lang.NullPointerException
>>>atInstaller.main(Installer.java:62)
>>>
>>>
>>>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!
>>>>>
>>>_______________________________________________
>>>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