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.
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)
Created attachment 11740 [details] The last part of the "ide.log."
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.
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.
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.
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?
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.
closed