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 37408

Summary: DEADLOCK: when invoking Version Explorer
Product: obsolete Reporter: dmladek <dmladek>
Component: vcscoreAssignee: Martin Entlicher <mentlicher>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: ide.log where you have debug output of invokeng VE and following ISE
FTD with 1 founded DEADLOCK

Description dmladek 2003-11-21 08:57:08 UTC
Product Version       = NetBeans IDE Dev (Build
200311201900)
  Operating System      = Linux version
2.4.20-18.9 running on i386
  Java; VM; Vendor      = 1.4.2; Java HotSpot(TM)
Client VM 1.4.2-b28; Sun Microsystems Inc.
  Java Home             =
/usr/local/java/j2sdk1.4.2/jre
  System Locale; Encod. = cs_CZ; ISO-8859-2
  Home Dir; Current Dir = /usr/local/home/delphym;
/usr/local/forte/forte3/NBdev-last/netbeans/bin
  IDE Install; User Dir =
/usr/local/home/delphym/NBdev-last;
/usr/local/home/delphym/.netbeans/dev
=====================================================
(I'm using MDI, now)

In today's build if you try invoke VE, you've got
3 ISE and 1 Deadlock.
It's 100%repruductable and also it's regresion:-o
One of most important function in VCS support
can't be used.
Thus I'm marking it as P1.

Please attached ide.log and FullThreadDump.
(not sure if it is problem realy in VCS, or most
probably in new WinSys, but involking VE cause IDE
freez)
Comment 1 dmladek 2003-11-21 08:58:10 UTC
Created attachment 12255 [details]
ide.log where you have debug output of invokeng VE and following ISE
Comment 2 dmladek 2003-11-21 08:58:50 UTC
Created attachment 12256 [details]
FTD with 1 founded DEADLOCK
Comment 3 Martin Entlicher 2003-11-21 09:43:40 UTC
The exceptions are just informative and are easily fixable.
After the exceptions are fixed, the deadlock should disappear.

This looks like a consequence of changes in window system.
Comment 4 Martin Entlicher 2003-11-21 15:28:52 UTC
Fixed in the runk. It was enough to add asynchronous() method with
"return true":

/cvs/vcscore/src/org/netbeans/modules/vcscore/actions/VersioningExplorerAction.java,v 
<--  VersioningExplorerAction.java
new revision: 1.11; previous revision: 1.10
Comment 5 dmladek 2004-02-17 12:50:40 UTC
OK in NB3.6 beta