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 130004 - Freeze while saving project options
Summary: Freeze while saving project options
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: t_h
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-13 10:09 UTC by Jiri Skrivanek
Modified: 2008-12-22 13:38 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump. (29.04 KB, text/plain)
2008-03-13 10:10 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2008-03-13 10:09:30 UTC
Since build #1030 (12-Mar-2008 21:36:08) it randomly but very often fails test of web application on
deadlock.netbeans.org. So, it is possible that changes which caused this issue were committed already before #1030. See 

http://deadlock.netbeans.org/hudson/job/trunk/1029/changes
http://deadlock.netbeans.org/hudson/job/testsHistory/ws/results/netbeans_validation/matrix-netbeans_trunk-quality_engineering-validation-deadlock.html

I was able to reproduce it manually:

- create web project
- wait until scanning is finished
- open project properties
- choose Run category
- uncheck "Display Browser on Run"
- click OK. Saving Project Data dialog appears but it is freezed forever (see attached thread dump).

Product Version: NetBeans IDE Dev (Build 20080313055741)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Comment 1 Jiri Skrivanek 2008-03-13 10:10:02 UTC
Created attachment 58297 [details]
Thread dump.
Comment 2 David Konecny 2008-03-13 11:07:40 UTC
Tomas, could you have a look at this please if you have time? It is bed time for me. :-)

Jarda, does thread dump shows something related to your changes? It does not look like to me.

AWT holds nodes lock and waits for project read access and RequestProcessor holds project write lock and want to update
nodes via WebProject.configurationXmlChanged(WebProject.java:489). The easy fix would be post node update in
WebProject.configurationXmlChanged(WebProject.java:489) to different tread. But this code was there for ages. I cannot
find anything what changed recently. Apart from one thing: 

mkubec - you changed relatively recently web's CustomizerDialog.java(:240) to post saving of customizer changes to above
RP. Perhaps that caused this?
Comment 3 t_h 2008-03-13 12:14:35 UTC
It is caused probably by my change. I will fix it.
Comment 5 Jiri Skrivanek 2008-03-14 09:27:58 UTC
Verified.