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.
100417, randomly when opening a recent project.
Created attachment 97666 [details] Deadlock
Is UI locked? How often it can happens? I can't reproduce it with about 10 reopening.
(In reply to comment #2) > Is UI locked? Yes, as you can see AWT-EventQueue-1 is blocked. > How often it can happens? Just this once that I know of. But I believe it is clear from the thread dump that there is a lock ordering problem with EntityMappingsMetadataModelHelper, which should be fixable without necessarily being able to reproduce.
ok, unfortunately I don't have enough experience in deadlocks, but I don't see any reasons to have the same monitor for both methods as there is no interception between, separate monitor is added for getDefaultModel, should fix possible deadlocks change..Xml vs getDef.. even if some invocation order isn't good enough. http://hg.netbeans.org/web-main/rev/a389dfd24a6d
Integrated into 'main-golden', will be available in build *201004230200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a389dfd24a6d User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #184500 persistence.xml and model are independent and can use different monitors, should fix posible deadlock changePersistenceXLM/getDefaultModel