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 193784 - NullPointerException at org.netbeans.modules.form.FormDesigner.isInDesigner
Summary: NullPointerException at org.netbeans.modules.form.FormDesigner.isInDesigner
Status: RESOLVED DUPLICATE of bug 189837
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-23 20:14 UTC by FiruzzZ
Modified: 2011-02-02 14:31 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 111571


Attachments
stacktrace (5.61 KB, text/plain)
2010-12-23 20:14 UTC, FiruzzZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FiruzzZ 2010-12-23 20:14:28 UTC
Build: NetBeans IDE 6.9.1 (Build 201011082200)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP

User Comments:
GUEST: I had just opened the GUI-Designer of a JPanel when the exception occured. Afterwards dismissing the exception the Palette is missing.
When changing to SourceEditor and back to DesignEditor all works just fine with the exception of a disabled preview action.

matteodg: Clicked on Reload form action off of Form node in Inspector.

FiruzzZ: adding a MenuItem...

aeps: tyring to reset palette window




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.form.FormDesigner.isInDesigner(FormDesigner.java:542)
   at org.netbeans.modules.form.FormUtils.isVisualInDesigner(FormUtils.java:1547)
   at org.netbeans.modules.form.FormUtils.getSelectedLayoutComponents(FormUtils.java:1528)
   at org.netbeans.modules.form.actions.DuplicateAction.enable(DuplicateAction.java:75)
   at org.openide.util.actions.NodeAction$DelegateAction.resultChanged(NodeAction.java:615)
   at sun.reflect.GeneratedMethodAccessor53.invoke(GeneratedMethodAccessor53.java:0)
Comment 1 FiruzzZ 2010-12-23 20:14:31 UTC
Created attachment 104465 [details]
stacktrace
Comment 2 Tomas Pavek 2011-02-02 14:31:20 UTC

*** This bug has been marked as a duplicate of bug 189837 ***