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 137539 - Check-in/out starts failing after working with the IDE for some time
Summary: Check-in/out starts failing after working with the IDE for some time
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: ClearCase (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 09:42 UTC by wdzierzan
Modified: 2010-12-16 09:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
An edited messages.log: sensitive data replaced with "???" (378.72 KB, text/plain)
2008-06-18 13:01 UTC, wdzierzan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wdzierzan 2008-06-18 09:42:47 UTC
Product Version         = NetBeans IDE 6.1 (Build 200804211638)
Operating System        = Windows XP version 5.1 running on x86
Java; VM; Vendor        = 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19; Sun Microsystems Inc.
Runtime                 = Java(TM) SE Runtime Environment 1.6.0_05-b13

After working with the IDE for some time, the checkin and checkout commands start failing with the following error: 

INFO [org.netbeans.modules.clearcase]
org.netbeans.modules.clearcase.ClearcaseException: Clearcase Command Failure: "checkout -nquery -reserved -cfile
C:\DOCUME~1\wro02268\LOCALS~1\Temp\clearcase-36797.txt Option.java"
db_set_intent_V3: RPC: Unable to send; errno = [WINSOCK] Connection reset by peer
cleartool: Error: Trouble communicating with VOB database: "\rac01_pvob".
cleartool: Error: Could not determine stream for view
cleartool: Error: Unable to check out "Option.java".
        at
org.netbeans.modules.clearcase.client.ClearcaseClient$CommandRunnable.handleCommandError(ClearcaseClient.java:242)
        at org.netbeans.modules.clearcase.client.ClearcaseClient$CommandRunnable.run(ClearcaseClient.java:215)
        at org.netbeans.modules.clearcase.client.ClearcaseClient$1.perform(ClearcaseClient.java:102)
        at org.netbeans.modules.clearcase.util.ProgressSupport.run(ProgressSupport.java:136)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)


Other actions like Diff, Browse Version Tree, etc. are not affected.

Running cleartool manually from the command line continues to work fine.
ClearCase Explorer, Windows shell integration, etc. continue to work fine.
IDE integration in e.g. Eclipse continues to work fine.

The only known workaround is restarting the NetBeans IDE.
Comment 1 Tomas Stupka 2008-06-18 11:00:52 UTC
Hi,

it would help us if we know exactly which actions work in such a case and which not. 
Could you the next time it happens try out as much as possible of them? 
Please attach also your messages.log file.

thanks
Comment 2 wdzierzan 2008-06-18 12:49:28 UTC
Hi,

Failing actions:
    Checkin
    Checkout
    Undo Hijack
    Reserve
    Unreserve
    Update
    Label (fails on getting label list)

OK actions:
    Hijack
    Show Changes
    Diff
    Show Annotations
    View Revision
    Browse History
    Browse Version Tree
    Ignore
    Unignore
    Exclude from Checkin
    Include to Checkin
    Show Properties
Comment 3 wdzierzan 2008-06-18 13:01:23 UTC
Created attachment 62988 [details]
An edited messages.log:  sensitive data replaced with "???"
Comment 4 Tomas Stupka 2008-06-19 19:04:13 UTC
fixed cbb379f0649b

Comment 5 tfl_scm 2010-12-16 09:27:14 UTC
(In reply to comment #4)
> fixed cbb379f0649b

Hi, what was done to fix this?
My developers are having this issue a few times per day within Visual Studio connecting to ClearCase. I'm sure the underlying issue could be similar to the one in this thread.

Was this a network problem?

Thanks!
Comment 6 Tomas Stupka 2010-12-16 09:59:42 UTC
actually more a workaround then a fix. the cleartool shell seems to hang itself after some time so we create a new process for each command.