Author: akazakov
Date: 2010-12-29 07:59:07 -0500 (Wed, 29 Dec 2010)
New Revision: 27797
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELResolverFactoryManager.java
Log:
https://issues.jboss.org/browse/JBIDE-8015
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELResolverFactoryManager.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELResolverFactoryManager.java 2010-12-29
12:38:46 UTC (rev 27796)
+++
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELResolverFactoryManager.java 2010-12-29
12:59:07 UTC (rev 27797)
@@ -51,7 +51,7 @@
* @return
*/
public ELResolver[] getResolvers(IResource resource) {
- if(!resource.isAccessible()) {
+ if(resource==null || !resource.isAccessible()) {
return new ELResolver[0];
}
IProject project = resource.getProject();