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 97657 - Component layout properties are not loaded when layout is switched to Free Design
Summary: Component layout properties are not loaded when layout is switched to Free De...
Status: RESOLVED DUPLICATE of bug 70200
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 110387 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-12 14:24 UTC by Jana Maleckova
Modified: 2007-09-07 10:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
97657 (3.08 KB, text/plain)
2007-03-12 14:25 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-03-12 14:24:33 UTC
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)
Comment 1 Jana Maleckova 2007-03-12 14:25:29 UTC
Created attachment 39393 [details]
97657
Comment 2 Tomas Pavek 2007-03-23 11:05:53 UTC
Yes, switiching between layouts does not recreate the layout properties
correctly in some cases.
Comment 3 Tomas Pavek 2007-07-23 16:56:11 UTC
*** Issue 110387 has been marked as a duplicate of this issue. ***
Comment 4 Tomas Pavek 2007-09-07 10:03:20 UTC

*** This issue has been marked as a duplicate of 70200 ***