[jbosstools-commits] JBoss Tools SVN: r41838 - trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/validation.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Fri Jun 8 15:42:57 EDT 2012
Author: scabanovich
Date: 2012-06-08 15:42:57 -0400 (Fri, 08 Jun 2012)
New Revision: 41838
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/validation/WebXMLCoreValidator.java
Log:
JBIDE-12129
https://issues.jboss.org/browse/JBIDE-12129
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/validation/WebXMLCoreValidator.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/validation/WebXMLCoreValidator.java 2012-06-08 19:37:13 UTC (rev 41837)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/validation/WebXMLCoreValidator.java 2012-06-08 19:42:57 UTC (rev 41838)
@@ -245,6 +245,9 @@
displaySubtask(WebXMLValidatorMessages.VALIDATING_PROJECT, new String[]{projectName});
IPath webContentPath = WebUtils.getFirstWebContentPath(project);
+ if(webContentPath == null) {
+ return OK_STATUS;
+ }
IFolder webInf = null;
try {
More information about the jbosstools-commits
mailing list