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.
>System Info: Product Version = NetBeans IDE Dev (Build 200503101100) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0_03-ea; Java HotSpot(TM) Client VM 1.5.0_03-ea-b04; Sun Microsystems Inc. Java Home = C:\Program Files\Java\jdk1.5.0_03\jre Steps: 1. Register new PVCS versioned directory. (Project Database is not created) 2. From main menu invoke "PVCS | Create project Database". Setup required values and push "OK" button. Command is running forever and be stopped.
A similar problem also happens to me from time to time. It looks that it does not affect any particular command, but it seems that it can happen to every command. But I was able to kill the command from Runtime. I did not identify the condition under which this happens, but it looks to be some race-condition somewhere.
This is actually a bug in the ExternalCommand class in vcscore. The output progress listeners are called only for the first ExternalCommand instance. It's reproducible when e.g. first you run some CVS command and then any PVCS command will hang.
Fixed in trunk: /cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/exec/ExternalCommand.java,v <-- ExternalCommand.java new revision: 1.40; previous revision: 1.39
Verified NetBeans IDE Dev (Build 200503170655).