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 220576 - Deadlock when editing css file
Summary: Deadlock when editing css file
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-22 13:15 UTC by Vladimir Riha
Modified: 2012-11-08 14:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (44.69 KB, text/x-log)
2012-10-22 13:15 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-10-22 13:15:53 UTC
Created attachment 126328 [details]
thread dump

In my css file, I had only:

li{
color: bl|
}

and then invoked cc. This is the first time it happened



Product Version: NetBeans IDE Dev (Build web-main-8936-on-20121022)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04
System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Marek Fukala 2012-10-22 13:33:19 UTC
PropertyValuesEditor.getTags(PropertyValuesEditor.java:144) runs in EDT and calls CssIndex.findAll() which tries to obtain parsing lock. The call to the index must not be done in EDT
Comment 2 Marek Fukala 2012-10-23 11:58:14 UTC
fixed in web-main#55d25d99d511

I've fixed it in the second thread (much easier).
Comment 3 Quality Engineering 2012-10-24 01:29:43 UTC
Integrated into 'main-golden', will be available in build *201210240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/55d25d99d511
User: Marek Fukala <mfukala@netbeans.org>
Log: #220576 - Deadlock when editing css file
Comment 4 Vladimir Riha 2012-11-08 14:48:01 UTC
Haven't seen since it was fixed => verified, thanks


Product Version: NetBeans IDE Dev (Build web-main-9156-on-20121108)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15
System: Linux version 3.2.0-32-generic-pae running on i386; UTF-8; en_US (nb)