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 127025 - Can't start NB while cleartool is not available.
Summary: Can't start NB while cleartool is not available.
Status: CLOSED WONTFIX
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-08 20:21 UTC by Peter Pis
Modified: 2008-02-26 11:39 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (23.47 KB, text/plain)
2008-02-22 11:38 UTC, Maros Sandor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2008-02-08 20:21:48 UTC
Cleartool is not available, IDE won't start.

WARNING [org.netbeans.modules.clearcase]: java.io.IOException: Invalid cleartool output: cleartool: Error: Unable to
contact albd_server on host 'x.x.x.x'
FINEST [org.netbeans.modules.clearcase]: getTopmostManagedParent no root for D:\SunWork\test\JavaApplication10
FINER [org.netbeans.modules.clearcase]: getTopmostManagedParent D:\SunWork\test\localhistory
FINEST [org.netbeans.modules.clearcase]: getTopmostManagedParent no cached root for D:\SunWork\test\localhistory
FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: Creating cleartool process...
Comment 1 Tomas Stupka 2008-02-11 14:51:34 UTC
IDE starts, its just that it takes a couple of years...
Comment 2 Maros Sandor 2008-02-22 11:38:21 UTC
Created attachment 57055 [details]
Thread dump
Comment 3 Maros Sandor 2008-02-22 11:39:15 UTC
I have tested it and startup is really slow. However clearcase module is not to blame, the clearcase filesystem driver
hangs and timeouts after a long time. See attached thread dump where you can see that AWT is blocked by project system.
I will reassign to projects for evaluation of moving filesystem operations out of AWT.
Comment 4 Milos Kleint 2008-02-22 13:25:02 UTC
msandor: 

"However clearcase module is not to blame, the clearcase filesystem driver
hangs and timeouts after a long time."

The project system part is a fairly simple getProjectDirectory() call, which returns instantly on sane filesystems  and
which cannot be "optimized" in any possible way I can think of.

-> so it's clearly clearcase fault, not project system.

Comment 5 Maros Sandor 2008-02-22 13:35:11 UTC
Closing then.
Comment 6 Peter Pis 2008-02-22 13:59:48 UTC
It's really annoying whenever it happens. Can't it be really resolved somehow?
Comment 7 Maros Sandor 2008-02-22 14:02:55 UTC
IMO any code that accesses file system from AWT can run into this so I suggest we either:

1) won't fix it
2) check the whole IDE codebase for such code and fix it
Comment 8 Milos Kleint 2008-02-22 14:47:43 UTC
changing all code that accesses the filesystem from awt is a task of epic proportions with unclear results anyway..

can the clearcase support somehow detect this state without actually hanging?

Comment 9 Maros Sandor 2008-02-25 09:18:16 UTC
As I wrote before, IDE CC support is NOT guilty. It is the CC OS file system driver that hangs the machine.
Comment 10 Maros Sandor 2008-02-26 10:03:31 UTC
As mkleint says, fixing it on our side is practically impossible. It is up to CC admins to setup more reasonable CC
behavior.
Comment 11 Peter Pis 2008-02-26 11:39:39 UTC
Closing.