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.
Steps to reproduce: - create jframe - create jlabel - invoke popup menu for label and run "Bind -> text" - in binding source listbox select for example "Form" - in binding expression type "${text}" - press OK button - invoke popup menu again and again run "Bind -> text" - press OK button (you can also delete content of textfield) I know that there is a treecombo with valid values, but binding expression input contains "textfield" and anti-mouse user will use it as textfield. So it should be nicer to user's type errors.
NetBeans IDE Dev (Build 200705271800) 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 Linux version 2.6.17-10-386 running on i386 en_US (nb); UTF-8
java.lang.NullPointerException at javax.beans.binding.Binding.unbind(Binding.java:779) at org.netbeans.modules.form.BindingDesignSupport.removeBinding(BindingDesignSupport.java:770) at org.netbeans.modules.form.BindingDesignSupport.removeBindingInModel(BindingDesignSupport.java:777) at org.netbeans.modules.form.BindingDesignSupport.changeBindingInModel(BindingDesignSupport.java:87) at org.netbeans.modules.form.BindingProperty.setValue(BindingProperty.java:77)
Created attachment 42853 [details] 104960-log.txt
Fixed - the exception is no longer thrown. Modified file: /cvs/form/src/org/netbeans/modules/form/BindingDesignSupport.java new revision: 1.4; previous revision: 1.3
Verified (NetBeans IDE Dev (Build 200706111212))