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.
Product Version: NetBeans IDE Dev (Build web-main-7492-on-20120427) Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21 System: Mac OS X version 10.7.3 running on x86_64; UTF-8; en_US (nb) Not sure how to reproduce this, but I got to a state when the New File wizard displays just "please wait". I am attaching a screenshot, thread dump and IDE log file.
Created attachment 118865 [details] Screenshot
Created attachment 118866 [details] IDE log file
Created attachment 118867 [details] Thread dump
Looks like threading problem in JDK 7 update 4, half of the threads are "parking". I've seen similar deadlock states with JDK 7u4 before...
Maybe not related to Mac at all. Also there is no relevant information here that could be reported against JDK. The code waiting is at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:499) which was introduced by Jesse's fix in issue 191951 a few months ago. Jesse, please evaluate thoroughly if this is a regression on our side.
The fix of bug #191951 is indeed related to the "org.netbeans.modules.project.ui.actions.NewFile" thread blocking. This would happen if something went wrong with an asynchronous instantiating iterator, such as is used for Maven archetypes. That is another bug but of course I do not know how to reproduce it; your log file gives no apparent clues. Given that this RP task is blocking, the reported problem - "Please wait..." - is just due to the fact that the existing code for bug #191677 could be blocked by the actually unrelated template instantiation, sharing that RP as of 4bb5b9db6649, so theoretically could happen in 7.1. Not P2 unless this is known to be common. Workaround would likely be to use File > New File instead of the context menu.
core-main #e010dfaed823
Integrated into 'main-golden', will be available in build *201206050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e010dfaed823 User: Jesse Glick <jglick@netbeans.org> Log: #211842: New File wizard displays Please wait... forever