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 Dev (Build 200802270005) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 57517 [details] stacktrace
StackTrace: =========== java.awt.AWTError: ScrollPane controls layout at java.awt.ScrollPane.setLayout(ScrollPane.java:388) at org.netbeans.modules.form.RADVisualContainer.refillContainerInstance(RADVisualContainer.java:151) at org.netbeans.modules.form.RADVisualContainer.initSubComponents(RADVisualContainer.java:358) at org.netbeans.modules.form.MetaComponentCreator.makeCopy(MetaComponentCreator.java:660) at org.netbeans.modules.form.MetaComponentCreator.makeCopy(MetaComponentCreator.java:654) at org.netbeans.modules.form.MetaComponentCreator.copyComponent2(MetaComponentCreator.java:440)
I was able to reproduce this issue using the following steps: 1. Add (AWT) ScrollPane into the form. 2. Copy and paste the ScrollPane => the attached exception is thrown.
Fixed. Modified file: http://hg.netbeans.org/main/rev/08afb682a832
verified in build 200803311211