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 143800 - NullPointerException at org.netbeans.modules.form.FormDesigner.updateDesignerActions
Summary: NullPointerException at org.netbeans.modules.form.FormDesigner.updateDesigner...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (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: 2008-08-13 18:57 UTC by atellezflores
Modified: 2008-11-18 17:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 52916


Attachments
stacktrace (4.22 KB, text/plain)
2008-08-13 18:57 UTC, atellezflores
Details

Note You need to log in before you can comment on or make changes to this bug.
Description atellezflores 2008-08-13 18:57:26 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 
Created a prject with the DocumentEditor sample, when I try to open the DocumentEditorView.java in Design mode it throws a NullPointerException and no palette window is shown, then a I tried to open it through Window menu but Palette window is empty

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.form.FormDesigner.updateDesignerActions(FormDesigner.java:1042)
        at org.netbeans.modules.form.FormDesigner.selectionChanged(FormDesigner.java:1031)
        at org.netbeans.modules.form.FormDesigner.clearSelectionImpl(FormDesigner.java:1027)
        at org.netbeans.modules.form.ComponentInspector$NodeSelectionListener.propertyChange(ComponentInspector.java:515)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
Comment 1 atellezflores 2008-08-13 18:57:30 UTC
Created attachment 67297 [details]
stacktrace
Comment 2 Exceptions Reporter 2008-08-13 21:43:58 UTC
This issue has already 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=52916
Comment 3 Jan Stola 2008-08-14 11:06:33 UTC
I am not able to reproduce this issue, but I am able to fix/workaround it.

Modified file: http://hg.netbeans.org/main?cmd=changeset;node=718e75f3c591