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 162967 - NullPointerException at org.netbeans.modules.form.menu.MenuEditLayer.getFormMenuBar
Summary: NullPointerException at org.netbeans.modules.form.menu.MenuEditLayer.getFormM...
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-17 16:42 UTC by digz6666
Modified: 2009-06-30 13:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 149725


Attachments
stacktrace (1.33 KB, text/plain)
2009-04-17 16:42 UTC, digz6666
Details

Note You need to log in before you can comment on or make changes to this bug.
Description digz6666 2009-04-17 16:42:41 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, x86

User Comments:
digz6666: When dragging and dropping menu to change the order in menu bar.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.form.menu.MenuEditLayer.getFormMenuBar(MenuEditLayer.java:1373)
        at org.netbeans.modules.form.menu.MenuEditLayer$10.formChanged(MenuEditLayer.java:1225)
        at org.netbeans.modules.form.FormModel.fireEvents(FormModel.java:1288)
        at org.netbeans.modules.form.FormModel.fireEventBatch(FormModel.java:1261)
        at org.netbeans.modules.form.FormModel.firePendingEvents(FormModel.java:1224)
        at org.netbeans.modules.form.FormModel.access$000(FormModel.java:65)
Comment 1 digz6666 2009-04-17 16:42:46 UTC
Created attachment 80377 [details]
stacktrace
Comment 2 digz6666 2009-04-17 16:45:28 UTC
I've restarted my netbeans and changed the menu order.
This issue haven't happened yet.
Comment 3 Jan Stola 2009-04-22 14:04:41 UTC
I am sorry, I am not able to reproduce this issue and the attached stack-trace is not sufficient to track the problem 
down. Please, let us know if/when you are able to reproduce this issue and provide more information (exact steps to 
reproduce would be ideal) then. Thank you in advance.
Comment 4 pribyl 2009-06-30 13:06:38 UTC
There is no additional info that could help to track this problem. The last reported occurance is from 6.5.1.

I am closing this issue for now as worksforme.

If anyone can reproduce the problem in recent NB versions, please reopen this issue and add some additional description.

Thanks a lot