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.
NetBeans IDE Dev (Build 200703111900) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 en_GB (nb); Cp1252 Description: ============ Layout properties of component (e.g jButton) are lost when layout is changed to Free Design... 1. have set some layout whichever except Free Design (e.g. Border layout) 2. insert some component - jButton and check layout properties 3. switch layout to Free Design and see no layout properties for this button are loaded. If new jButton is inserted, it's layout prop. are loaded with no problems. In Layout property, there are attributes which belongs to previous layout and according to this when user tries to change them, a NPE occurrs StackTrace: =========== java.lang.NullPointerException at org.netbeans.modules.form.RADVisualComponent$ConstraintsListener.vetoableChange(RADVisualComponent.java:330) at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:335) at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:252) at org.netbeans.modules.form.FormProperty.firePropertyChange(FormProperty.java:796)
Created attachment 39393 [details] 97657
Yes, switiching between layouts does not recreate the layout properties correctly in some cases.
*** Issue 110387 has been marked as a duplicate of this issue. ***
*** This issue has been marked as a duplicate of 70200 ***