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 246272

Summary: NullPointerException at org.netbeans.modules.form.menu.KeyboardMenuNavigator.selectOffsetMenu
Product: guibuilder Reporter: FiruzzZ
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 200807
Attachments: stacktrace

Description FiruzzZ 2014-08-05 11:14:04 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.55-b03, Java(TM) SE Runtime Environment, 1.7.0_55-b13
OS: Windows 7

User Comments:
FiruzzZ: I don't know when the problem occured, but I was adding a  MenuItem, them added a Menu, then moved the Items on the new Menu, added a Icon to each new component.

GUEST: I was mounting a JMenu at the JFrame




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.form.menu.KeyboardMenuNavigator.selectOffsetMenu(KeyboardMenuNavigator.java:208)
   at org.netbeans.modules.form.menu.KeyboardMenuNavigator.keyPressed(KeyboardMenuNavigator.java:101)
   at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:250)
   at java.awt.Component.processKeyEvent(Component.java:6463)
   at javax.swing.JComponent.processKeyEvent(JComponent.java:2828)
   at java.awt.Component.processEvent(Component.java:6282)
Comment 1 FiruzzZ 2014-08-05 11:14:07 UTC
Created attachment 148551 [details]
stacktrace