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 69241

Summary: Deadlock after options are closed
Product: xml Reporter: _ lcincura <lcincura>
Component: CodeAssignee: issues@xml <issues>
Status: VERIFIED FIXED    
Severity: blocker CC: issues
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: threaddump

Description _ lcincura 2005-11-24 10:01:54 UTC
NetBeans IDE 5.0 [200511231900] on jdk 1.5.0_05

After I closed options (I changed some shotrcuts in options), IDE deadlocked.
See threaddump.
Comment 1 _ lcincura 2005-11-24 10:02:53 UTC
Created attachment 27231 [details]
threaddump
Comment 2 Martin Roskanin 2005-11-24 11:06:25 UTC
XMLOptions.getColoringMap uses wrong lock on XMLOptions instance. Is the lock of
whole method necessary? 
Comment 3 Marek Fukala 2005-11-24 11:35:15 UTC
fixed as Martin proposed

Checking in XMLOptions.java;
/cvs/xml/text-edit/src/org/netbeans/modules/xml/text/syntax/XMLOptions.java,v 
<--  XMLOptions.java
new revision: 1.13; previous revision: 1.12
done
Comment 4 _ lcincura 2005-12-20 12:32:39 UTC
Verified in 200512181900