|
Bug ID:
|
4356333
|
|
Votes
|
0
|
|
Synopsis
|
NPE occuring while accessing Tools menu in Forte IDE
|
|
Category
|
java:classes_awt_im
|
|
Reported Against
|
1.1
|
|
Release Fixed
|
|
|
State
|
11-Closed, duplicate of 4280243,
bug
|
|
Priority:
|
2-High
|
|
Related Bugs
|
4280243
,
4352620
|
|
Submit Date
|
25-JUL-2000
|
|
Description
|
This bug was observed in Forte IDE build 1066 on NT 4.0 with JDK 1.3
This is tricky to reproduce this bug.
Add an empty directory to the file system for example : "c:\tmp\temp"
Convert it into a Web app module (J2ee) compliant by selecting menu item from "Tools->Convert File system into Web Module"
Select the file new File system created in previous step
From tools menu select " Tools-> Package War file"
Enter a new name for .war file
Observe the Zip file exception exception then try to access any menu item in tools menu and Observe the following exception.
Now IDE becomes unusable.
Pl. refer to Bug ID: 4356322
Tue Jul 25 16:06:25 PDT 2000java.lang.NullPointerException: null pData
java.lang.NullPointerException: null pData
at sun.awt.windows.WInputMethod.handleNativeIMEEvent(Native
Method)
at
sun.awt.windows.WInputMethod.dispatchEvent(WInputMethod.java:275)
at sun.awt. customer .InputContext.dispatchEvent(InputContext.java:202)
at
sun.awt. customer .InputMethodContext.dispatchEvent(InputMethodContext.java:177)
at java.awt.Component.dispatchEventImpl(Component.java:2529)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2499)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
at
java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:2318)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:2189)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:912)
at java.awt.Component.dispatchEvent(Component.java:2499)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
|
|
Work Around
|
The workaround around this bug is to call
JMenu.enableInputMethods (false)
thus I think this is problem in AWT input methods. Please look at the sources:
http://www.netbeans.org/source/browse/openide/src/org/openide/awt/JMenuPlus.java?rev=1.10&content-type=text/x-cvsweb-markup
|
|
Evaluation
|
This bug was present long time ago, perhaps only occured on release candidates of JDK 1.3?
--------------------------------------------------------
Duplicate of 4280243?
xxxxx@xxxxx 2000-08-23
This seems to be a dup of 4280243
xxxxx@xxxxx 2000-10-10
|
|
Comments
|
Submitted On 24-AUG-2000
multiplexor
this is an actual bug with jmenus
see bug 4298592
forte was designed in java, thus having it's same
problems... don't get me wrong... love java... just smoe
bugs are bothersome.. hehe
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|