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

Bug 471389

Summary: File client: Editor page hangs when a bad file plugin is installed.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 9.0   
Target Milestone: 10.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2015-06-29 18:43:20 EDT
In flieClient.js we have a line of code as below at line 162:
			var patternStringArray = _references[j].getProperty("pattern") || _references[j].getProperty("top").replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1"); //$NON-NLS-1$ //$NON-NLS-0$
If a file plugin does not provide "top" property then the whole editor hangs.
We should at least do a NPE check here.