Author: akazakov
Date: 2011-07-28 18:29:16 -0400 (Thu, 28 Jul 2011)
New Revision: 33328
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
Log:
https://issues.jboss.org/browse/JBIDE-9423
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 2011-07-28
22:14:27 UTC (rev 33327)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2011-07-28
22:29:16 UTC (rev 33328)
@@ -2137,7 +2137,9 @@
return false;
}
IParametedType superType =
cdiProject.getNature().getTypeFactory().getParametedType(decorator.getBeanClass(),
superClassSignature);
- return superType.getSignature().equals(delegatedType.getSignature());
+ if(superType!=null) {
+ superType.getSignature().equals(delegatedType.getSignature());
+ }
} catch (JavaModelException e) {
CDICorePlugin.getDefault().logError(e);
}