In a Gradle project, I select a class in project explore and right click and do
Fill out the dialog box (only 5 methods -- 4 are checked for extraction) provide a name for new Java interface and then hit 'Refactor' -- Hang.
Repeat about 10 times (kill -9 each time) Then I try 'Preview' that provides a good display of what NB wants to do -- then I hit refactor -- Hang. Repeat -- but this time only select "create the new file" -- hang.
On a kick I try the same thing for "Extract Superclass" -- basically the same -- hang. Log file in $HOME/.netbeans/7.3/var/log/message.log does or says nothing. And yes I have waited 10+ minutes or so (project really isn't that large -- 300 files maybe).
Product Version: NetBeans IDE 7.3 (Build 201302132200)
Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Linux version 3.8.5-201.fc18.x86_64 running on amd64; UTF-8; en_US (nb)
User directory: /home/fwelland/.netbeans/7.3
Cache directory: /home/fwelland/.cache/netbeans/7.3
Can you please attach thread dump?
FWIW: I issued this the extract interface at about 920 edt; took the dump at maybe 925edt and left for a meeting. Still hung at 1031edt (all am).
Created attachment 133475 [details]
thread dump of hung extract interface in nb 7.3.1
Deadlock in Gradle's GradleTemplateAttrProvider.
Created issue in upstream project.
*** Bug 229044 has been marked as a duplicate of this bug. ***