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 36343 - An NPE while creating a new project.
Summary: An NPE while creating a new project.
Status: VERIFIED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@projects
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2003-09-30 04:18 UTC by bitwise
Modified: 2005-07-12 10:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The last part of the "ide.log." (35.91 KB, text/plain)
2003-09-30 04:26 UTC, bitwise
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bitwise 2003-09-30 04:18:23 UTC
After I named a new project, the IDE throws an NPE.


java.lang.NullPointerException
	at
sun.awt.windows.WInputMethod.dispatchEvent(WInputMethod.java:253)
	at
sun.awt.im.InputContext.dispatchEvent(InputContext.java:238)
	at
sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:180)
	at
java.awt.Component.dispatchEventImpl(Component.java:3565)
	at
java.awt.Container.dispatchEventImpl(Container.java:1627)
	at
java.awt.Window.dispatchEventImpl(Window.java:1606)
	at
java.awt.Component.dispatchEvent(Component.java:3477)
[catch] at
java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	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 1 bitwise 2003-09-30 04:26:57 UTC
Created attachment 11740 [details]
The last part of the "ide.log."
Comment 2 Vitezslav Stejskal 2003-09-30 10:42:16 UTC
Strange, does it happen regularily or was that just random NPE? It
seems like a JDK bug. Could you describe in steps what exactly you
did? Thanks.
Comment 3 bitwise 2003-09-30 11:11:27 UTC
    It was just random. I can't reproduse it.
    The step I did was simple. 

1. I pressed "New" button in the project manager. 
2. I gave a name to new project and pressed "OK" in "Make a new
project" dialog.

Then the exception was thrown.
    Titles of buttons and dialogs may be different because I use
Japanese    version of the IDE. Anyway, sorry for my bad English. Thanks.
Comment 4 Vitezslav Stejskal 2003-09-30 13:54:06 UTC
Thanks for the info. From the ide.log I see that you are using JDK
1.4.2_01-b06. That might be the cause - beta 6 version can have bugs.
Let's leave this report open for some time if there will be other
similar complaints. Otherwise I can't help much with that I think.
Comment 5 bitwise 2003-10-02 10:06:35 UTC
    The NPE was thrown again. It seems that the NPE is thrown when I
create a new project right after the starting up of the IDE. I wonder
if the NPE depends on my environment. This is the 2nd time of the
throw. I will see this for a while.
    By the way, is the J2SDK 1.4.2_01-b06 beta version? I downloaded
it from a download site of regular version. I think "b" means "build,"
doesn't it?
Comment 6 Jesse Glick 2004-03-19 14:38:18 UTC
Project opening is completely different under the new project system.

The exception posted here looks familiar; I think it was reported in
the JRE and fixed at some point. I think it had to do with components
overriding add/removeNotify without calling the super implementation.
Comment 7 Marian Mirilovic 2005-07-12 10:13:38 UTC
closed