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 20130822-ef42cf2d3fa3) Operating System = Linux version 3.7.10-1.16-desktop running on amd64 Java; VM; Vendor = 1.7.0_25 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Almost every time i start typing into editor a dialog opens but it's never shut down unless i click on Cancel. Note that it happens while i am debugging another NetBeans session.
Created attachment 139062 [details] IDE log
Created attachment 139063 [details] screenshot
Created attachment 139064 [details] thread dump
Although it is caused by my recent fix of issue #228991 it would not happen without Jarda's fix of long running FO.takeLock() in issue #207611 from Jun 18 by rescheduling DataEditorSupport.Env.markModified() into ProgressUtils. Rescheduling into ProgressUtils is very dangerous approach that may easily lead to deadlocks because all the monitors that the original thread has locked must NEVER be acquired by the ProgressUtils thread otherwise the two threads will lock forever. So the code that normally passed before will deadlock just because of ProgressUtils rescheduling especially in cases like this when there are various listeners called that attempt to acquire various locks - in this case debugger.jpda.projects.LineTranslations$Registry.register(LineTranslations.java:376) I would vote for rollback of fix #207611 but I understand that taking a file lock should be avoided in EDT so I'll try to find a fix that would satisfy both the progressutils rescheduling and would not cause the original deadlock #228991.
http://hg.netbeans.org/jet-main/rev/eb3284d7cede
*** Bug 234777 has been marked as a duplicate of this bug. ***