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.
Build: NetBeans IDE 7.1 Beta (Build 201109252201) VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06 OS: Windows XP User Comments: kawazu428: - created JLabel in JFrame form window - created a copy of that label (Edit - Copy, Edit - Paste) - tried to move the copy initialzero: Added a panel to an existing panel moved child from existing panel to new panel. attempted to adjust the top location of the existing panel child and this assertion appeared. GUEST: Attempting to resize a progreee bar with designer. david1234: resizing JLabels GUEST: adjusting the height of a JTree within a new parent JPanel MackSix: Horizontal resize of jRadioButton. Stacktrace: java.lang.AssertionError at org.netbeans.modules.form.layoutdesign.LayoutInterval.getCommonParent(LayoutInterval.java:607) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.orthogonalOverlap(LayoutFeeder.java:4006) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.analyzeSequential(LayoutFeeder.java:3877) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.analyzeParallel(LayoutFeeder.java:3786) at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:394) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:1204)
Created attachment 112619 [details] stacktrace
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 it? If so, could you, please, provide more details? It would be ideal to attach the problematic form (both .java and .form files) saved in the last good state and describe _exact_ steps that lead to the exception. Thank you in advance.
Created attachment 117939 [details] Project that exhibits the problem. Product Version: NetBeans IDE Dev (Build 201204050400) Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) 1.) Open up attached project in NetBeans. 2.) Open up NewJFrame.java in GUI Editor in Design mode. 3.) Resize jTabbedPane 1 by dragging bottom up and snapping to the bottom of jInternalFrame1. This AssertionError occurs.
Thank you for the test-case. I am able to reproduce the mentioned exception using the attached project and the described steps.
Made a fix that should reduce errors like this in general (losing information about original position of a component that is moved or resized): http://hg.netbeans.org/jet-main/rev/4258c36c7fc2 With this fix I can't reproduce the AE on given test case anymore.