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.
I can not reproduce this behaviour purposely, it just happens from time to time. 1) create new file from the package context menu: RMC on package > New > Java Class 2) Enter the file name and press "finish" After that IDE may hang - it will not respond to any command (except to minimise and maximise) and it will not redraw its window so it will be uniform gray if some other window will overlap it. Actualy it will start from not redrawing the part of its window that was obscured by the "New Wizard - Java Class" dialog. The only way to do something to it is to end the process from the task manager. But the file with the specified name is created and all macroses inside it are resolved to appropriate strings except the name of the constructor that remains the same as it was in the template.
Created attachment 14164 [details] the custom template for Java Class
Created attachment 14165 [details] the file that is created when IDE hangs
Reassigning for evaluation.
Please run the ide in console and take the thread dump when ide hangs.
Created attachment 15095 [details] The thread dump obtained when IDE was hanged
The thread-dump was provided -> removing INCOMPLETE keyword. Looks like a deadlock. Honzo, please check whether it is still relevant.
It is no more relevant for promo-D. Code involved in this deadlock was removed. Closing as wontfix.