Bug 522749 - Exceptions are thrown when a distant resource is not reachable anymore
Summary: Exceptions are thrown when a distant resource is not reachable anymore
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 5.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 6.1.0   Edit
Assignee: Project inbox CLA
QA Contact: Florian Barbin CLA
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-09-25 11:06 EDT by Steve Monnier CLA
Modified: 2018-10-19 12:48 EDT (History)
4 users (show)

See Also:


Attachments
ErrorLog (100.78 KB, image/png)
2018-10-12 04:34 EDT, Jessy Mallet CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Monnier CLA 2017-09-25 11:06:01 EDT
When a distant resource is not reachable, some exception are raised by Sirius. They need to be silently catch as a popup is already warning the user on ODTE.

Steps to reproduce: can be reproduce only in OD Team context, contact Steve for the details
Comment 1 Eclipse Genie CLA 2017-09-25 11:48:09 EDT
New Gerrit change created: https://git.eclipse.org/r/105725
Comment 2 Florian Barbin CLA 2017-09-28 10:18:36 EDT
More generally, this bugzilla should be about handle this kind of exception in Sirius.
Comment 3 Maxime Porhel CLA 2018-08-28 09:24:16 EDT
Corrected by commit 0bceaebc9d55b0b8e1febce4f5c98eb88bb9c631

https://git.eclipse.org/r/plugins/gitiles/sirius/org.eclipse.sirius/+/0bceaebc9d55b0b8e1febce4f5c98eb88bb9c631
Comment 4 Jessy Mallet CLA 2018-10-12 04:33:28 EDT
After opening a connected project to CDO repository, I have opened a diagram and then I shut down the server. I have a popup indicating that access is not possible but I have also many error in my errorLog (see attached screenShot).
Comment 5 Jessy Mallet CLA 2018-10-12 04:34:21 EDT
Created attachment 276218 [details]
ErrorLog
Comment 6 Steve Monnier CLA 2018-10-12 07:06:13 EDT
I have not reproduced these exceptions
Comment 7 Steve Monnier CLA 2018-10-12 08:31:04 EDT
I only reproduce with a "legacy" model, not a cdo native model. We can consider this resolved.
Comment 8 Pierre-Charles David CLA 2018-10-19 12:48:53 EDT
Available in Sirius 6.1.0, see https://wiki.eclipse.org/Sirius/6.1.0