Author: akazakov
Date: 2009-12-01 13:23:37 -0500 (Tue, 01 Dec 2009)
New Revision: 18952
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationContext.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5331
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationContext.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationContext.java 2009-12-01
17:52:45 UTC (rev 18951)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationContext.java 2009-12-01
18:23:37 UTC (rev 18952)
@@ -127,7 +127,9 @@
* @see
org.jboss.tools.seam.internal.core.validation.ISeamValidationContext#addRemovedFile(org.eclipse.core.resources.IFile)
*/
public void addRemovedFile(IFile file) {
- rootContext.addRemovedFile(file);
+ if(rootContext!=null) {
+ rootContext.addRemovedFile(file);
+ }
}
/* (non-Javadoc)