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.

Bug 242662

Summary: deadlock renaming an action
Product: platform Reporter: scanti <scanti>
Component: TextAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: the thread dump

Description scanti 2014-03-07 14:26:05 UTC
Created attachment 145839 [details]
the thread dump

I was working on a module of my company NetBeans RCP Application.
I had one action open in the editor and I decided to rename it using CTRL+R

A popoup came up, I wrote the new name and then my IDE froze. 
Above the progress bar it is written "usage"
I am attaching the thread dump

 The action had some references in the layer.xml
Comment 1 Ralph Ruijs 2014-07-07 12:21:11 UTC
"org.openide.text Document Processing" daemon prio=2 tid=0x00000000289c7000 nid=0x21c8 in Object.wait() [0x000000002484f000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000007a943d4d8> (a org.netbeans.modules.editor.NbEditorDocument)
	at java.lang.Object.wait(Object.java:503)
	at javax.swing.text.AbstractDocument.readLock(AbstractDocument.java:1387)
	- locked <0x00000007a943d4d8> (a org.netbeans.modules.editor.NbEditorDocument)