[358291] NPE when trying to get Nature Descriptor
diff --git a/plugins/org.eclipse.wst.validation/vf2/org/eclipse/wst/validation/internal/model/FilterRule.java b/plugins/org.eclipse.wst.validation/vf2/org/eclipse/wst/validation/internal/model/FilterRule.java
index 8a8c04c..f4fa8de 100644
--- a/plugins/org.eclipse.wst.validation/vf2/org/eclipse/wst/validation/internal/model/FilterRule.java
+++ b/plugins/org.eclipse.wst.validation/vf2/org/eclipse/wst/validation/internal/model/FilterRule.java
@@ -221,7 +221,10 @@
 			super(projectNature);
 			
 			IProjectNatureDescriptor nature = ResourcesPlugin.getWorkspace().getNatureDescriptor(projectNature);
-			patternLabel = nature.getLabel();
+			
+			if(nature != null){
+				patternLabel = nature.getLabel();
+			}
 		}
 
 		public String getDisplayableType() {
@@ -393,7 +396,10 @@
 			_versionExpression = versionExpression;
 			
 			IProjectFacet facet = ProjectFacetsManager.getProjectFacet(facetId);
-			_facetLabel = facet.getLabel();
+			
+			if(facet != null){
+				_facetLabel = facet.getLabel();
+			}
 		}
 
 		public String getType() {