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.
This bug was originally marked as duplicate of bug 166092, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.2 (Build 201207101812) VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows 7 Stacktrace: java.lang.NullPointerException at java.awt.Container.addImpl(Container.java:1086) at java.awt.Container.add(Container.java:410) at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.createLayout(SwingLayoutBuilder.java:171) at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.setupContainerLayout(SwingLayoutBuilder.java:108) at org.netbeans.modules.form.VisualReplicator.setupContainerLayout(VisualReplicator.java:822) at org.netbeans.modules.form.VisualReplicator.cloneComponent(VisualReplicator.java:754)
Created attachment 122933 [details] stacktrace
Looks like it's due to the problem with classloaders described in bug 127881 (where also a workaround is mentioned). *** This bug has been marked as a duplicate of bug 127881 ***