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.
Summary: | Deadlock from j2ee Default RequestProcessor | ||
---|---|---|---|
Product: | javaee | Reporter: | ehucka <ehucka> |
Component: | Code | Assignee: | Pavel Buzek <pbuzek> |
Status: | VERIFIED DUPLICATE | ||
Severity: | blocker | CC: | tzezula |
Priority: | P2 | Keywords: | RANDOM, THREAD |
Version: | 5.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | threaddump |
Description
ehucka
2006-05-10 11:00:10 UTC
Created attachment 30319 [details]
threaddump
It looks like the problem is in the 2 threads started in org.netbeans.modules.j2ee.metadata.NNMDRListener$3.run(NNMDRListener.java:191) They both lock on ClassPath.getRoots and then they wait on each other in org.netbeans.api.java.classpath.ClassPath$RootsListener.fileFolderCreated(ClassPath.java:757) Not sure if this is a wrong usage pattern in NNModelerListener or a problem in CP API. Tomasi can you comment? Thanks. The ClassPath.getRoots() is fixed in trunk to not to call SPI code in synchronized block. See issue: #77209. I will integrate it to 5.5. *** This issue has been marked as a duplicate of 77209 *** verified v |