Author: akazakov
Date: 2007-11-19 12:31:15 -0500 (Mon, 19 Nov 2007)
New Revision: 4975
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamValidatorManager.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1334
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamValidatorManager.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamValidatorManager.java 2007-11-19
16:57:55 UTC (rev 4974)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamValidatorManager.java 2007-11-19
17:31:15 UTC (rev 4975)
@@ -48,6 +48,9 @@
public IStatus validateInJob(IValidationContext helper, IReporter reporter) throws
ValidationException {
SeamValidationHelper coreHelper = (SeamValidationHelper)helper;
ISeamProject project = coreHelper.getSeamProject();
+ if(project==null) {
+ return OK_STATUS;
+ }
SeamValidationContext validationContext =
((SeamProject)project).getValidationContext();
IStatus status = null;
try {