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 36103 - [java-mdr] Deadlock in MDR
Summary: [java-mdr] Deadlock in MDR
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-16 10:21 UTC by Jan Becicka
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (18.90 KB, text/plain)
2003-09-16 10:21 UTC, Jan Becicka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2003-09-16 10:21:05 UTC
Beans module tests did not finished correctly due
to deadlock.
Comment 1 Jan Becicka 2003-09-16 10:21:33 UTC
Created attachment 11630 [details]
Thread dump
Comment 2 Pavel Flaska 2003-09-19 14:27:10 UTC
CodeGenerator running in transaction cannot finish its work because of
waiting for the document (prepareDocument() ) lock. -- Bridge is
trying to refresh its state (it is trying to start read transaction).
-- its thread holds document. Unfortunatelly, it cannot go into
because of generator holds it.
Fixing problem in generator (do not remove elemnts from removed
sources) will probably solve this problem. -- Will investigate
possible other scenarios which can cause the same problem.
Comment 3 Pavel Flaska 2003-09-25 10:21:53 UTC
Fixed. CodeGenerator does not generate elements, which are part of the
removed source. There is no need to obtain lock in prepareDocument(),
the thread should not lock each other.
Comment 4 ehucka 2003-12-05 09:51:35 UTC
Verified in build from 5.12.2003.