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

Bug 432754

Summary: Readonly file widget: Need to handle file system plugin activation errors.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 5.0   
Target Milestone: 6.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 428791    

Description libing wang CLA 2014-04-14 12:05:47 EDT
We put a "loading..." message in the widget right after the widget is loaded by the caller. Then we start to load the matching file system plugins. The loading of the plugin basically takes all the time when the loading message is rendered. We should capture any errors during the plugin activation/handshake. If there are errors but the plugin registry does not throw it out we have to fix it by checking  the file service references. It there is no file service registered, that means the plugin is not activated properly.
Comment 1 libing wang CLA 2014-04-14 12:13:16 EDT
Fixed with http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=932a61ed8399510cff1047cd1ca7b38f218fada2.
I was not able to reproduce a plugin activation error in real but I managed to shim/fake the activation error for all file system plugins.