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 128797 - java.awt.AWTError: ScrollPane controls layout
Summary: java.awt.AWTError: ScrollPane controls layout
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-29 10:01 UTC by kate
Modified: 2008-04-01 16:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 32241


Attachments
stacktrace (3.30 KB, text/plain)
2008-02-29 10:01 UTC, kate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kate 2008-02-29 10:01:43 UTC
Build: NetBeans IDE Dev (Build 200802270005)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows XP, 5.1, x86

User Comments:
Comment 1 kate 2008-02-29 10:01:47 UTC
Created attachment 57517 [details]
stacktrace
Comment 2 Jana Maleckova 2008-03-03 07:10:01 UTC
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)
Comment 3 Jan Stola 2008-03-03 13:59:50 UTC
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.
Comment 4 Jan Stola 2008-03-03 14:27:56 UTC
Fixed.

Modified file: http://hg.netbeans.org/main/rev/08afb682a832
Comment 5 kate 2008-04-01 16:31:52 UTC
verified in build 200803311211