Re: [skinlf-dev] NPE when selecting a menu item with ENTER key.
Frédéric Lavigne <[email protected]> Sun, 19 Feb 2006 17:21:41 +0100
| Newsgroups | gmane.comp.java.skinlf.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Christian, I've tried reproducing it with the SkinLF demo (and SkinLF 6.2 =20 released last week) but I can't get the NPE you are encountering. Do =20 you have a small testcase I could use? thanks, -fred On Feb 19, 2006, at 2:14 PM, Christian Schlichtherle wrote: > Hi Fred, > > > > I noticed a NullPointerException in skinlf when selecting a menu =20 > item with the ENTER key instead of the mouse or a mnemonic. This =20 > does not happen with Sun=92s Metal L&F. The NPE happens with both JDK =20= > 1.4.2_10 and JDK 1.5.0_06. Here is the stack trace. > > > > java.lang.NullPointerException > > at =20 > javax.swing.plaf.basic.BasicMenuItemUI.isInternalFrameSystemMenu=20 > (BasicMenuItemUI.java:1127) > > at javax.swing.plaf.basic.BasicMenuItemUI.doClick=20 > (BasicMenuItemUI.java:1095)