-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.1.7
-
generic
-
generic
Name: clC74495 Date: 12/10/98
( This is for Swing version 1.1 )
Since the java.util.Hashtable.remove(Object key) method does not check
for a null argument being passed in, the JMenu.remove(JMenuItem item)
must be changed to check for null object handles being returned from
methods called before calling the Hashtable.remove method.
Exception occurred during event dispatching:
java.lang.NullPointerException:
at java.util.Hashtable.remove(Hashtable.java:373)
at javax.swing.JMenu.remove(JMenu.java:583)
at com.bentley.tools.debugger.DebuggerUI.addToRecentFiles(DebuggerUI.java:2313)
(Review ID: 47707)
======================================================================
- duplicates
-
JDK-4197752 JMenu.removeAll() (Swing 1.1) doesn't work.
-
- Resolved
-