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 45905 - NullPointerException: WindowSystem is not supplied
Summary: NullPointerException: WindowSystem is not supplied
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 01:25 UTC by johnny cool
Modified: 2008-12-23 08:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johnny cool 2004-07-08 01:25:28 UTC
I install the ide and run it with with 1.4.2_05.

It shows the splash and then hangs. The process 
is still running.
Comment 1 johnny cool 2004-07-08 01:26:27 UTC
---------------------------------------------------------------------
----------
>Log Session: Thursday, 8 July 2004 10:13:21 AM EST
>System Info: 
  Product Version       = NetBeans IDE 3.6 (Build 200404071636)
  Operating System      = Windows XP version 5.1 running on x86
  Java; VM; Vendor      = 1.4.2_05; Java HotSpot(TM) Client VM 
1.4.2_05-b04; Sun Microsystems Inc.
  Java Home             = C:\j2sdk1.4.2_05\jre
  System Locale; Encod. = en_AU; Cp1252
  Home Dir; Current Dir = D:\Documents and Settings\WOODGA; 
c:\Program Files\NetBeans3.6\bin
  IDE Install; User Dir = c:\Program Files\NetBeans3.6; D:\Documents 
and Settings\WOODGA\.netbeans\3.6
  CLASSPATH             = c:\Program Files\NetBeans3.6
\lib\ext\boot.jar;C:\j2sdk1.4.2_05\lib\dt.jar;C:\j2sdk1.4.2_05
\lib\tools.jar
  Boot & ext classpath  = C:\j2sdk1.4.2_05
\jre\lib\rt.jar;C:\j2sdk1.4.2_05\jre\lib\i18n.jar;C:\j2sdk1.4.2_05
\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_05
\jre\lib\jsse.jar;C:\j2sdk1.4.2_05\jre\lib\jce.jar;C:\j2sdk1.4.2_05
\jre\lib\charsets.jar;C:\j2sdk1.4.2_05\jre\classes;C:\j2sdk1.4.2_05
\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_05
\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_05
\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_05
\jre\lib\ext\sunjce_provider.jar
  Dynamic classpath     = c:\Program Files\NetBeans3.6
\lib\core.jar;c:\Program Files\NetBeans3.6\lib\openfile-
cli.jar;c:\Program Files\NetBeans3.6\lib\openide-
loaders.jar;c:\Program Files\NetBeans3.6\lib\openide.jar
---------------------------------------------------------------------
----------
Turning on modules:
	org.openide/1 [4.26.1 200404071636]
	org.openide.loaders [4.11.1 200404071636]
	org.netbeans.core/1 [1.21.1 200404071636]
INFORMATIONAL *********** Exception occurred ************ at Thu Jul 
08 10:13:21 EST 2004
java.lang.NullPointerException: 
[catch]WindowSystem is not supplied!!!\n
	at org.netbeans.core.Main$8.run(Main.java:437)
	at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run
(EventDispatchThread.java:100)
Comment 2 Milan Kubec 2004-07-12 08:06:56 UTC
Reassigning for evaluation.
Comment 3 _ ttran 2004-07-19 23:19:11 UTC
Lookup doesn't find winsys?
Comment 4 Jaroslav Tulach 2004-07-20 09:30:00 UTC
Here is the list of initialized modules:
        org.openide/1 [4.26.1 200404071636]
	org.openide.loaders [4.11.1 200404071636]
	org.netbeans.core/1 [1.21.1 200404071636]
None of them contain window system, so no window system can be found.
Definitively nothing to do with lookup. 

Somehow the module system does not find its modules...
Comment 5 _ ttran 2004-07-20 12:20:19 UTC
Oh no.  Something wrong with the installation?

Johny Cool: did you do anything special with the IDE installation? 
Did you turn off some modules?
Comment 6 Jesse Glick 2004-07-20 16:42:56 UTC
Looks like a corrupt installation to me. No clue how to reproduce. Try
reinstalling from scratch. If you used the installer before, try a ZIP
file now, or vice-versa.
Comment 7 Marian Mirilovic 2005-07-12 09:43:30 UTC
closed