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 116283 - [60cat] IDE Hangs when adding Visual Java Server Faces framework to the project
Summary: [60cat] IDE Hangs when adding Visual Java Server Faces framework to the project
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC All
: P1 blocker (vote)
Assignee: _ potingwu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 10:16 UTC by vanob
Modified: 2007-09-24 17:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full Thread Dump (25.27 KB, text/plain)
2007-09-21 10:18 UTC, vanob
Details
Another Thread dump after 5 minutes (24.80 KB, text/html)
2007-09-21 10:26 UTC, vanob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vanob 2007-09-21 10:16:09 UTC
[ BUILD # : 200709200000 ]
[ JDK VERSION : 1.6.2 ]

1. Create New Enterprise Project that will create 3 projects.
2. Go To Web Application Project Properties | Frameworks and add Visual Java Server Faces Application Framework
 
After Pressing OK IDE Nangs.
Attaching thread dump
Comment 1 vanob 2007-09-21 10:18:45 UTC
Created attachment 49216 [details]
Full Thread Dump
Comment 2 vanob 2007-09-21 10:26:12 UTC
Created attachment 49217 [details]
Another Thread dump after 5 minutes
Comment 3 vanob 2007-09-21 10:28:18 UTC
Accidentally indicated text/html mime type for the last threaddump.
Just do View Source in the Browser to see nicely formatted output
Comment 4 _ potingwu 2007-09-21 17:14:45 UTC
It can be reproduced by just,
1. Create a simple Web project
2. Add Visual Web framework

It is caused by org.netbeans.modules.web.jsf.api.ConfigurationUtils.getConfigModel blocked by Mutex.readAccess.
Comment 5 _ potingwu 2007-09-21 18:08:53 UTC
Use ProjectManager.mutex().postReadRequest(new Runnable() { ... }) should resolve this issue; fixing and testing.
Comment 6 _ potingwu 2007-09-24 17:05:30 UTC
It's fixed in the trunk! No longer deadlock here.