[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