Author: scabanovich
Date: 2010-12-27 09:56:16 -0500 (Mon, 27 Dec 2010)
New Revision: 27750
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java
Log:
JBIDE-7963
https://issues.jboss.org/browse/JBIDE-7963
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java 2010-12-27
13:41:52 UTC (rev 27749)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java 2010-12-27
14:56:16 UTC (rev 27750)
@@ -1026,7 +1026,7 @@
CDICoreNature[] ps = n.getDependentProjects().toArray(new CDICoreNature[0]);
for (CDICoreNature p: ps) {
- if(p.getProject() != null && p.getProject().isAccessible()) {
+ if(p.getProject() != null && p.getProject().isAccessible() &&
p.getDelegate() != null) {
p.getDelegate().update();
}
}