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 79170 - Dead lock when merging cvs changes
Summary: Dead lock when merging cvs changes
Status: VERIFIED DUPLICATE of bug 73091
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2006-06-27 08:41 UTC by Jiri Skrivanek
Modified: 2007-09-26 09:14 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (22.89 KB, text/plain)
2006-06-27 08:41 UTC, Jiri Skrivanek
Details
thread dump - well formatted (22.60 KB, text/plain)
2006-06-27 15:56 UTC, Libor Kotouc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2006-06-27 08:41:08 UTC
A random dead lock appeared when I call "CVS|Merge Changes from Branch" action.
There were opened several enterprise and web projects and breakpoints were set
in several files. But I can't reproduce it anymore. I guess something wrong is
either in JspToggleBreakpointActionProvider

org.netbeans.modules.web.debug.actions.JspToggleBreakpointActionProvider.propertyChange(JspToggleBreakpointActionProvider.java:65)

or in JEEVerificationAnnotationProvider

org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider.processDocument(JEEVerificationAnnotationProvider.java:191)

Please, look at attached thread dump and fix it if it is possible or re-assign.
Comment 1 Jiri Skrivanek 2006-06-27 08:41:38 UTC
Created attachment 31404 [details]
Thread dump
Comment 2 Libor Kotouc 2006-06-27 15:56:41 UTC
Created attachment 31424 [details]
thread dump - well formatted
Comment 3 Libor Kotouc 2006-06-28 09:37:39 UTC
"Java EE Verification Request Processor" thread begins MDR transaction
(JEEVerificationAnnotationProvider.processDocument()), then in
FolderList.waitProcessingFinished() waits for the "Folder Recognizer" thread to
finish but this thread in turn tries to enter MDR transaction again which IMHO
causes the described deadlock.
Reassigning to java module to evaluate because it tries to start the transaction
in the listener code.

btw, JspToggleBreakpointActionProvider listens on the node selection change and
retrieves the web module for it. AWT thread is blocked waiting for the "Folder
Recognizer" thread (now IDE is frozen). But is has nothing to do with the deadlock.
Comment 4 Jan Pokorsky 2006-06-28 12:55:58 UTC

*** This issue has been marked as a duplicate of 73091 ***
Comment 5 Jiri Skrivanek 2006-06-28 12:59:24 UTC
Verified.