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

Bug 350901

Summary: [Navigator & Editor Sockets] Unloadable files are attempted to be loaded again and again in an infinite loop
Product: [Automotive] Sphinx Reporter: Stephan Eberle <stephaneberle9>
Component: CoreAssignee: Stephan Eberle <stephaneberle9>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 0.7.0   
Target Milestone: 0.7.0   
Hardware: All   
OS: All   
Whiteboard:

Description Stephan Eberle CLA 2011-07-01 02:59:59 EDT
= Steps to reproduce =
* Make sure that Sphinx Model Explorer view is open
* Create a Hummingbird project, set the release to Hummingbird 1.0
* Create a new Hummingbird file in that project
* Open Hummingbird file with Eclipse Text editor, modify it such that it becomes unwellformed, and save it

= Expected behavior= 
* The Hummingbird file gets unloaded
* The Model Explorer is refreshed at the end of the unload transaction
* Nothing happens after that

= Actual behavior = 
* The Hummingbird file gets unloaded
* The Model Explorer is refreshed at the end of the unload transaction
* During that, it figures out that the Hummingbird file is not loaded and schedules a job for loading it
* The loading attempt fails
* The Model Explorer is refreshed again at the end of the load transaction
* It detects again that the Hummingbird file is not loaded and reschedules a job for loading it
* ...
Comment 1 Stephan Eberle CLA 2011-07-01 03:01:26 EDT
Fixed by replacing inappropriate implementation of BasicExplorerContentProvider#createModelContentRootChangeListener().
Comment 2 Balazs Grill CLA 2021-07-14 02:16:06 EDT
Mass-closing Resolved tickets