[jbosstools-commits] JBoss Tools SVN: r43628 - trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Sep 12 20:09:34 EDT 2012


Author: scabanovich
Date: 2012-09-12 20:09:33 -0400 (Wed, 12 Sep 2012)
New Revision: 43628

Modified:
   trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
Log:
JBIDE-12587
https://issues.jboss.org/browse/JBIDE-12587


Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java	2012-09-13 00:08:42 UTC (rev 43627)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java	2012-09-13 00:09:33 UTC (rev 43628)
@@ -505,6 +505,9 @@
 		init(rootProject, validationHelper, projectContext, validatorManager, reporter);
 		setAsYouTypeValidation(true);
 		this.document = validationContext.getDocument();
+		if(rootCdiProject == null) {
+			return;
+		}
 		rootCdiProject = new CDIProjectAsYouType(rootCdiProject, file);
 		validateResource(file);
 		if(reporter instanceof ITypedReporter) {



More information about the jbosstools-commits mailing list