commit | 1fe88f77f17cd924c7bb21efe19bbbc3cbd5e6ef | [log] [tgz] |
---|---|---|
author | Nitin Dahyabhai <nitind@us.ibm.com> | Fri Jan 25 06:01:10 2013 -0500 |
committer | Nitin Dahyabhai <nitind@us.ibm.com> | Fri Jan 25 06:01:10 2013 -0500 |
tree | b4fd5f81bcb062a8c17cea092fd7e6bb86487816 | |
parent | 2fe11ab8fd8d16e17c628f7596f0821ef576e6f1 [diff] |
[399017] Errors while attempting to work with JSP model when JSF/JSTL facets (2)
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/util/FacetModuleCoreSupportDelegate.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/util/FacetModuleCoreSupportDelegate.java index 7a15aa6..d96d79c 100644 --- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/util/FacetModuleCoreSupportDelegate.java +++ b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/util/FacetModuleCoreSupportDelegate.java
@@ -152,7 +152,10 @@ IVirtualComponent component = referencedComponent.getComponent(); if (component == null) continue; - IPath referencedPathRoot = component.getRootFolder().getWorkspaceRelativePath(); + IVirtualFolder rootFolder = component.getRootFolder(); + if (rootFolder == null) + continue; + IPath referencedPathRoot = rootFolder.getWorkspaceRelativePath(); /* * See Servlet 3.0, section 4.6 ; this is the only referenced * module/component type we support