Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 457443 - StackOverFlows and NPEs when session not loaded from memento
Summary: StackOverFlows and NPEs when session not loaded from memento
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X
: P3 critical (vote)
Target Milestone: 3.0.0M5   Edit
Assignee: Maxime Porhel CLA
QA Contact: Maxime Porhel CLA
URL:
Whiteboard:
Keywords:
Depends on: 457435
Blocks:
  Show dependency tree
 
Reported: 2015-01-14 08:19 EST by Maxime Porhel CLA
Modified: 2015-06-24 11:16 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Porhel CLA 2015-01-14 08:19:53 EST
+++ This bug was initially created as a clone of Bug #457435 +++

In some cases, when Eclipse is restarted after a close with opened Sirus editor(s), when the session cannot be loaded or when an OperationCanceledException occurs, the editor is partially loaded in error and a lot of StackOverFlowsErrors and NPEs are thrown on every mouse clicks (set focus, clic in editor, attempt to close the editor, ..). 


Steps to reproduce: 
* Open/Create a session.
* Open/Create a diagram (optional: and a tree/table editor)
* Save
* Restart Eclipse
* During the restart: cancel the load
* The diagram editor is loaded with errors
* Try to close it or to use your IDE: a lot of NPE, unhandled event loop, stack overflows occur.
Comment 1 Maxime Porhel CLA 2015-01-15 04:57:44 EST
Fixed with commit b5455e338f6db53467ba3e9a236615704449003c on master
Comment 2 Belqassim Djafer CLA 2015-04-10 05:48:38 EDT
Verified on Sirius 3.0.0M6
Comment 3 Maxime Porhel CLA 2015-05-26 10:47:44 EDT
Validated on Sirius 3.0.0 RC1
Comment 4 Pierre-Charles David CLA 2015-06-24 11:16:04 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.