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.
[dev jun 26] I opened scripting console. Typed Class.forName("java.lang.String") selected it and pressed Alt-V to eval. Worked fine. Then deleted result, edited to read Class.forName("java.lang.String[]") (which I believe is incorrect syntax), selected it, pressed Alt-V, and NB deadlocked immediately. Thread dump attached. Looks like printing some stack trace (CNFE I presume) caused it. EvaluateConsole is at fault IMHO for running in the AWT event thread; evaluateButtonActionPerformed should use e.g. RP.getDefault().post(...).
Created attachment 6447 [details] Thread dump
fixed in trunk.
*** Issue 22871 has been marked as a duplicate of this issue. ***