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 254761 - CVS operations taking LONG time
Summary: CVS operations taking LONG time
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-26 21:57 UTC by mclaborn
Modified: 2015-08-27 14:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (152.83 KB, text/plain)
2015-08-26 21:57 UTC, mclaborn
Details
stack trace for hung commit (26.06 KB, text/plain)
2015-08-26 21:58 UTC, mclaborn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mclaborn 2015-08-26 21:57:29 UTC
Product Version = NetBeans IDE 8.1 Beta (Build 201508041349)
Operating System = Linux version 3.13.0-62-generic running on amd64
Java; VM; Vendor = 1.8.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.51-b03

I've had a couple of CVS operations take so long that I had to cancel them. Don't remember seeing this in 8.0.  
One was a "Show Changes" across several projects.  This same operation ran successfully a few times before, but hung up once.

Second time was commit of a single GUI form (2 files).  That is the IDE log attached and the stack trace coming shortly.
Comment 1 mclaborn 2015-08-26 21:57:34 UTC
Created attachment 155673 [details]
IDE log
Comment 2 mclaborn 2015-08-26 21:58:48 UTC
Created attachment 155674 [details]
stack trace for hung commit
Comment 3 mclaborn 2015-08-26 22:05:55 UTC
After closing NetBeans and restarting, the single commit that was hung up ran successfully in just a couple of seconds.
Comment 4 Jiri Kovalsky 2015-08-26 22:32:59 UTC
Reassigning for further evaluation.
Comment 5 Ondrej Vrabec 2015-08-27 04:50:43 UTC
waiting in
	at java.lang.Thread.sleep(Native Method)
	at org.netbeans.lib.cvsclient.util.LoggedDataInputStream.read(LoggedDataInputStream.java:210)
	at org.netbeans.lib.cvsclient.Client.handleResponse(Client.java:579)
	at org.netbeans.lib.cvsclient.Client.processRequests(Client.java:552)
	at org.netbeans.lib.cvsclient.command.commit.CommitCommand.execute(CommitCommand.java:322)

seems to be expecting server response but none has come.
Comment 6 mclaborn 2015-08-27 14:03:12 UTC
The CVS repository is on a remote server. The CVS root is defined as 

:ext:mclaborn@servernamehere:/cvs

I looked on that remote server and did not see any process with my username that looked like any type of CVS.  Any idea what it would/should look like on the CVS repository server for this situation?
Comment 7 mclaborn 2015-08-27 14:04:02 UTC
Seems like the commit operation should time out after a while so that I can try again.  As it is now, I have to completely close NetBeans to try a new CVS operation when one hangs up like this.
Comment 8 Ondrej Vrabec 2015-08-27 14:38:24 UTC
Cancelling the running process in the progress bar does not interrupt it?
Comment 9 mclaborn 2015-08-27 14:49:03 UTC
It does interrupt the stalled commit, but the next commit I try just queues up, it doesn't run.