This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 106876 - Install fails with a null pointer exception
Summary: Install fails with a null pointer exception
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: dlipin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-15 20:32 UTC by belkorin
Modified: 2007-06-18 16:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Installer log file (11.85 KB, text/plain)
2007-06-15 20:33 UTC, belkorin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description belkorin 2007-06-15 20:32:15 UTC
The installer for netbeans 6.0 m9 fails with an AWT-EventQueue-0 error caused by a null pointer exception.

Log file is attached.
Comment 1 belkorin 2007-06-15 20:33:09 UTC
Created attachment 43813 [details]
Installer log file
Comment 2 dlipin 2007-06-15 21:38:29 UTC
belkorin,

could you please try latest development builds available at 
http://bits.nbextras.org/netbeans/6.0/nightly/

Please try any build >=200706150000 when it is available.

If the issue is reproducible then please attach the corresponding installation log (if not then please let us know).
If it is not very hard for you could you please also try the latest JDK/JRE 1.5.0_12 and 1.6.0_01 and let us know if 
the issue is reproducible in on them. You can specify java with the help of --javahome installer argument.

Thanks,
Dmitry
Comment 3 dlipin 2007-06-15 22:12:26 UTC
The issue is a well-know JDK bug fixed in JDK5 update 8.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2132857
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6337517
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6357324

One more candidate for initial check during L&F initialization...
Comment 4 belkorin 2007-06-18 14:58:36 UTC
On updating to JDK/JRE 1.5.0_12, the problem goes away. 
Comment 5 dlipin 2007-06-18 16:04:09 UTC
A simple workaround check has been added.
Now if the installer gets into this issue then it switches to cross-platfrom L&F.