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 115820 - Deadlock while opening JSF project
Summary: Deadlock while opening JSF project
Status: VERIFIED DUPLICATE of bug 115887
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-18 11:21 UTC by Jiri Skrivanek
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump. (29.88 KB, text/plain)
2007-09-18 11:22 UTC, Jiri Skrivanek
Details
IDE log. (54.96 KB, text/plain)
2007-09-18 13:06 UTC, Jiri Skrivanek
Details
Screen shot. (148.73 KB, image/png)
2007-09-18 13:07 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2007-09-18 11:21:58 UTC
A deadlock appeared when test was opening web project with JSF support. I cannot reproduce it manually. 

Build 200709171200, Windows XP, JDK1.6.0_02-b05.
Comment 1 Jiri Skrivanek 2007-09-18 11:22:36 UTC
Created attachment 48971 [details]
Thread dump.
Comment 2 Vitezslav Stejskal 2007-09-18 12:31:26 UTC
Could you please attach messages.log? Were there any exceptions thrown from the test? There does not seem to be a
deadlock in the threaddump. However, several threads are waiting for the readlock on a document without anybody
apparently holding the write lock. Does the test fail reliably? If so, can I run it on my machine with custom build? Thanks
Comment 3 Jiri Skrivanek 2007-09-18 13:05:48 UTC
The test failed two times in row on builds 200709170000, 200709171200 but passed on build 200709180000. I can't
reproduce it with the latest build on my machine. You can run it:

cd web/jsf/test
ant -Dxtest.testtype=qa-functional -Dnetbeans.dest.dir=D:/netbeans -Djdkhome=E:/jdk1.6.0
Comment 4 Jiri Skrivanek 2007-09-18 13:06:21 UTC
Created attachment 48980 [details]
IDE log.
Comment 5 Jiri Skrivanek 2007-09-18 13:07:07 UTC
Created attachment 48981 [details]
Screen shot.
Comment 6 Vitezslav Stejskal 2007-09-20 13:43:52 UTC
Should already be fixed. The HighlightingDrawLayer hadn't acquired document's readlock before locking the view
hierarchy. Mila fixed it with #115887.

*** This issue has been marked as a duplicate of 115887 ***
Comment 7 Jiri Skrivanek 2007-09-20 14:00:10 UTC
Verified.