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 - Deadlock after options are closed
Summary: Deadlock after options are closed
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-24 10:01 UTC by _ lcincura
Modified: 2005-12-20 12:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
threaddump (18.73 KB, text/plain)
2005-11-24 10:02 UTC, _ lcincura
Details

Note You need to log in before you can comment on or make changes to this bug.
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