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 116704 - Double click on button in JDA project causes NPE
Summary: Double click on button in JDA project causes NPE
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-25 16:04 UTC by Jana Maleckova
Modified: 2007-10-26 14:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
116704 (2.32 KB, text/plain)
2007-09-25 16:05 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2007-09-25 16:04:29 UTC
Product Version: NetBeans IDE Dev (Build 20070925065920) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System:
Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)

Description:
============
have JDA project. Select Events card on property window. Place jButton in view class and do mouse double click on it =>
NPE is thrown


StackTrace:
=============
java.lang.NullPointerException
        at org.netbeans.modules.form.FormCustomEditor.<init>(FormCustomEditor.java:187)
        at org.netbeans.modules.form.FormPropertyEditor.getCustomEditor(FormPropertyEditor.java:285)
        at org.netbeans.modules.form.actions.PropertyAction.actionPerformed(PropertyAction.java:70)
        at org.netbeans.modules.swingapp.JumpToOrCreateNewAction.performAction(JumpToOrCreateNewAction.java:95)
        at org.openide.util.actions.NodeAction$1.run(NodeAction.java:241)
Comment 1 Jana Maleckova 2007-09-25 16:05:41 UTC
Created attachment 49481 [details]
116704
Comment 2 Tomas Pavek 2007-09-25 16:07:11 UTC
Fixed.

/cvs/form/src/org/netbeans/modules/form/FormCustomEditor.java
new revision: 1.62; previous revision: 1.61
Comment 3 Jana Maleckova 2007-10-26 14:29:09 UTC
verified on

Product Version: NetBeans IDE Dev (Build 20071026043710)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)