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.
Components should not be constructed on any thread but the AWT thread. This is because one of the major sources of deadlocks in NetBeans is the AWT tree lock. I added some logging to java.awt.Component and found an enormous number of cases just during startup (possibly safer then than later, but not strictly safe). FolderInstance and SharedClassObject are a particularly common roots - probably they should be modified to log a stack trace if the instance they create turns out to be a Component. Also, it would be good to log stack traces if assertions are enabled (bytecode patch java.awt.Component perhaps?)
Also apropos: issue 150781 and issue 150779
We are reporting particular issues against particular modules ...