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 201111070600) VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows 7 User Comments: brettryan: Attempting to use the new Layout designer for netbeans platform applications. Stacktrace: java.lang.IllegalStateException: This function should be called while holding treeLock at java.awt.Component.checkTreeLock(Component.java:1195) at java.awt.Container.validateTree(Container.java:1682) at org.netbeans.modules.apisupport.project.ui.wizard.winsys.LayoutLaunchingPanel.run(LayoutLaunchingPanel.java:262) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705) at java.awt.EventQueue.access$000(EventQueue.java:101)
Created attachment 113066 [details] stacktrace
In JDK 7 there is a check for synch on treeLock in validateTree(). Not sure whether this call is important - if so, I guess either replace with validate(), or manually synchronized (getTreeLock()) {...}.
ergonomics#55169b4cdd02
*** This bug has been marked as a duplicate of bug 204849 ***
I think you meant FIXED? Surely this is not a dupe of "AssertionError: Should be a folder: ..."
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/55169b4cdd02 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #204911: Call public method, not protected one