[108671] fix for VE compatibility: committed for JL
diff --git a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/impl/MappedComponentXMIHelper.java b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/impl/MappedComponentXMIHelper.java
index 8051407..2c9417b 100644
--- a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/impl/MappedComponentXMIHelper.java
+++ b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/impl/MappedComponentXMIHelper.java
@@ -2,6 +2,7 @@
 
 import java.util.Map;
 
+import org.eclipse.core.resources.IFile;
 import org.eclipse.core.runtime.IPath;
 import org.eclipse.core.runtime.Path;
 import org.eclipse.emf.common.util.URI;
@@ -58,9 +59,18 @@
 	}
 	
 	private IVirtualComponent getComponent(URI base) {
-		IVirtualResource[] virtualResources = ComponentCore.createResources(WorkbenchResourceHelper.getFile(WorkbenchResourceHelperBase.getResource(base)));
-		if (virtualResources.length>0)
-			return virtualResources[0].getComponent();
+		ResourceSet set = getResource().getResourceSet();
+		if (set == null || set.getURIConverter()==null)
+			return null;
+		URI normalized = set.getURIConverter().normalize(base);
+		if (WorkbenchResourceHelperBase.isPlatformResourceURI(normalized)) {
+			IFile file = WorkbenchResourceHelper.getPlatformFile(normalized);
+			if (file !=null) {
+				IVirtualResource[] virtualResources = ComponentCore.createResources(file);
+				if (virtualResources.length>0)
+					return virtualResources[0].getComponent();
+			}
+		}
 		return null;
 	}
 }