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 56250 - PVCS: Create Project Database can't be stopped in some condition
Summary: PVCS: Create Project Database can't be stopped in some condition
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-11 10:43 UTC by Peter Pis
Modified: 2006-03-24 13:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2005-03-11 10:43:55 UTC
>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.
Comment 1 Martin Entlicher 2005-03-11 16:06:53 UTC
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.
Comment 2 Martin Entlicher 2005-03-14 11:33:39 UTC
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.
Comment 3 Martin Entlicher 2005-03-14 12:01:40 UTC
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
Comment 4 Peter Pis 2005-03-17 10:28:12 UTC
Verified NetBeans IDE Dev (Build 200503170655).