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.
Beans module tests did not finished correctly due to deadlock.
Created attachment 11630 [details] Thread dump
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.
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.
Verified in build from 5.12.2003.