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 185570 - [69cat] NPE when disabling a button on a form using its properties
Summary: [69cat] NPE when disabling a button on a form using its properties
Status: RESOLVED INCOMPLETE
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Binding (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-05 22:23 UTC by javydreamercsw
Modified: 2010-05-11 11:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2010-05-05 22:23:37 UTC
[ BUILD # : 201005050201 ]
[ JDK VERSION : 1.6.* ]

When I removed the check mark from the enabled property on a button I got this
error:

java.lang.NullPointerException
	at
org.netbeans.modules.form.RADComponent.createBindingProperties(RADComponent.java
:1374)
	at
org.netbeans.modules.form.RADComponent.getBindingProperties(RADComponent.java:68
0)
	at
org.netbeans.modules.form.RADComponent.getAllBindingProperties(RADComponent.java
:670)
	at
org.netbeans.modules.form.RADComponent.createPropertySets(RADComponent.java:1140
)
	at
org.netbeans.modules.form.RADVisualComponent.createPropertySets(RADVisualCompone
nt.java:218)
	at
org.netbeans.modules.form.RADComponent.getProperties(RADComponent.java:642)
	at
org.netbeans.modules.form.RADComponentNode.getPropertySets(RADComponentNode.java
:175)
	at
org.openide.explorer.propertysheet.PropertySheet.setCurrentNode(PropertySheet.ja
va:646)
	at
org.openide.explorer.propertysheet.PropertySheet.doSetNodes(PropertySheet.java:4
45)
	at
org.openide.explorer.propertysheet.PropertySheet.access$100(PropertySheet.java:1
17)
[catch] at
org.openide.explorer.propertysheet.PropertySheet$2$1.run(PropertySheet.java:607)

	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:133)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269
)
	at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174
)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Jan Stola 2010-05-11 11:57:44 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. Are you still able to reproduce this issue? If so, could you, please, provide more details?

It looks like a duplicate of issue 183893, but this issue should be already fixed in build 20100505. Is there any chance that you had older 'form' module (i.e, GUI builder) in your NetBeans build?