Bug 72276 - [error handling] Quick diff fails when working offline - no route to host
Summary: [error handling] Quick diff fails when working offline - no route to host
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.1 M3   Edit
Assignee: Tom Hofmann CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2004-08-19 11:01 EDT by Randy Hudson CLA
Modified: 2006-06-02 06:01 EDT (History)
1 user (show)

See Also:


Attachments
Patch to QuickDiff to not prompt the user on errors (4.13 KB, patch)
2004-10-27 11:28 EDT, Michael Valenta CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Hudson CLA 2004-08-19 11:01:14 EDT
When I remove my ethernet cable, I get constantly bombarded with the error 
dialog telling me:

Authentication error: com.jcraft.jsch.JSchException: Session.connect: 
java.net.NoRouteToHostException: No route to host: connect

When I press "OK" it appears again a few seconds later.  Working without a 
connection to the network is not an Error.  The dialog should be suppressed and 
quickdiff should be inactive until it finds a successful route to host.  It 
should not auto-deactivate and not reactivate.
Comment 1 Randy Hudson CLA 2004-08-19 11:05:11 EDT
Is this major?  The average user may not realize that the quickdiff feature is 
causing this connection attempt.  IMO the workaround of disabling quickdiff is 
not too good.
Comment 2 Jean-Michel Lemieux CLA 2004-09-09 09:58:45 EDT
Yes, we talked about this at the end of the 3.0 cycle and wasn't able to address
it. This is similar to the error with the scheduled synchronize.
Comment 3 Randy Hudson CLA 2004-09-14 17:24:56 EDT
The error with scheduled synchronize occurs once every hour or more.  The error 
with quick-diff occurs every time I open an editor.  For example, when looking 
at search results, debugging, using F3.

Can you consider fixing this for 3.0.2?
Comment 4 Jean-Michel Lemieux CLA 2004-09-23 14:29:30 EDT
Maybe, but I'll fix in 3.1 first since they don't want us to submit fixes to the
maintenance stream just yet.
Comment 5 Michael Valenta CLA 2004-10-26 14:21:36 EDT
I have a solution to this. I will attach a patch and forward to Text once I 
have added the relevant patches to bug 76726.
Comment 6 Michael Valenta CLA 2004-10-27 11:28:23 EDT
Created attachment 15417 [details]
Patch to QuickDiff to not prompt the user on errors
Comment 7 Michael Valenta CLA 2004-10-27 11:30:56 EDT
Moving to Text. I have attached a patch that allows QuickDiff to signal to the 
Progress view not to prompt on error but instead to give visual indication in 
the status bar that an error has occurred.
Comment 8 Christof Marti CLA 2004-10-28 06:19:16 EDT
Applied, thanks.

Available in builds >20041028.

May be considered for 3.0.2.
Comment 9 Tom Hofmann CLA 2004-11-01 09:52:18 EST
Since the fix for bug 76726 is marked M3, I don't think we will do anything for
3.0.2 for this - comments?

Closing.
Comment 10 Dani Megert CLA 2004-11-03 10:56:32 EST
OK. Verified in I200411022000
Comment 11 Randy Hudson CLA 2006-06-01 17:24:06 EDT
I am still getting entries in my log for this problem, but the dialog doesn't appear anymore. Should I open a separate bug?
Comment 12 Tom Hofmann CLA 2006-06-02 06:01:59 EDT
IMO you should file a request against team - connection problems should not be reported as errors.