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 235144

Summary: deadlock when reloading a file
Product: platform Reporter: Ondrej Vrabec <ovrabec>
Component: TextAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED FIXED    
Severity: normal CC: stefan79, vv159170
Priority: P2 Keywords: 7.4_HR_FIX
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: thread dump

Description Ondrej Vrabec 2013-08-28 09:00:23 UTC
Created attachment 139349 [details]
thread dump

running a mercurial command which most certainly changed the content of opened files
Comment 1 Ondrej Vrabec 2013-08-28 09:00:56 UTC
happened with:
Product Version: NetBeans IDE Dev (Build 20130826-b62b813297dc)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Linux version 3.7.10-1.16-desktop running on amd64; UTF-8; en_US (nb)
User directory: /home/ondra/.netbeans/devel
Cache directory: /home/ondra/.cache/netbeans/devel
Comment 2 Miloslav Metelka 2013-09-03 12:47:58 UTC
It should be fixed by not doing an initial part of the reload under CloneableES$Listener lock:
http://hg.netbeans.org/jet-main/rev/3851c71227bf
Comment 3 Miloslav Metelka 2013-09-04 08:47:11 UTC
*** Bug 235179 has been marked as a duplicate of this bug. ***
Comment 4 Miloslav Metelka 2013-09-05 11:16:10 UTC
I would like to ask QE for verification. Thanks.
Comment 5 Miloslav Metelka 2013-09-05 11:23:40 UTC
*** Bug 235501 has been marked as a duplicate of this bug. ***
Comment 6 Jan Lahoda 2013-09-05 20:05:31 UTC
The fix seems fine to me.
Comment 7 Tomas Zezula 2013-09-11 16:22:44 UTC
3851c71227bf transplanted to d1b281a2e485