Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 522749

Summary: Exceptions are thrown when a distant resource is not reachable anymore
Product: [Modeling] Sirius Reporter: Steve Monnier <steve.monnier>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: CLOSED FIXED QA Contact: Florian Barbin <florian.barbin>
Severity: normal    
Priority: P3 CC: florian.barbin, jessy.mallet, maxime.porhel, pierre-charles.david
Version: 5.1.0Keywords: triaged
Target Milestone: 6.1.0   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/105725
Whiteboard:
Attachments:
Description Flags
ErrorLog none

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