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 256891 - IDE asks for reconnect to host many times if a remote cache directory was removed
Summary: IDE asks for reconnect to host many times if a remote cache directory was re...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.2
Hardware: PC All
: P4 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 12:25 UTC by Alexander Pepin
Modified: 2015-12-19 17:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (252.12 KB, text/x-log)
2015-12-01 12:25 UTC, Alexander Pepin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2015-12-01 12:25:54 UTC
Created attachment 157578 [details]
IDE log

I occasionally removed a remote cache directory /var/tmp/dlight_hudson and then IDE began asking to reconnect to the remote host on and on. IDE log is in attachement.
Comment 1 Alexander Pepin 2015-12-02 14:01:53 UTC
Very annoying bug. Please look at it ASAP.
Comment 2 Vladimir Kvashin 2015-12-03 10:20:12 UTC
As I understand, the directory was removed while IDE was running, is that correct?
Comment 3 Vladimir Kvashin 2015-12-03 10:38:38 UTC
Log shows that removing this directory causes tons of troubles. 
Which does not surprise me.
For example, no process can be run on remote host since pty utility is not found.
No fs_server is found. And so on.

IDE checks this tools existence only on first connect during IDE session.
If we will check this on each reconnect, this will sure slowdown things.

I propose to close this as "WONTFIX".

Or just add a check in background, which will result in the balloon asking to restart IDE.

But if we are talking about Studio / NB8.1 patch - we are in UI freeze :(
Comment 4 Alexander Pepin 2015-12-03 11:34:18 UTC
(In reply to Vladimir Kvashin from comment #2)
yes, I just forgot that IDE was running on another desktop.
Comment 5 Alexander Pepin 2015-12-03 11:36:44 UTC
Does tool existence checking (pty and fs_server) really take more than a couple of seconds?
Comment 6 Vladimir Kvashin 2015-12-03 12:07:34 UTC
I just checked. All tools verification for my Solaris box that is under my table takes about 10 seconds. Guess how much will it take if the host is in the US.

I also have a question: do you really want to support such weird scenario? 
Removing remote directory with all the tools while IDE is running?

Restarting the IDE is a well known remedy, so I think user will guess to do this once he gets into such situation. And if he doesn't repeat this scenario every day, this should not harm.