Author: scabanovich
Date: 2012-08-27 21:09:13 -0400 (Mon, 27 Aug 2012)
New Revision: 43260
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
Log:
Added necessary check for null.
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2012-08-28
00:02:01 UTC (rev 43259)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2012-08-28
01:09:13 UTC (rev 43260)
@@ -958,7 +958,7 @@
affectedComponents.add(c);
}
} else {
- if(loaded instanceof ISeamXmlComponentDeclaration) {
+ if(loaded instanceof ISeamXmlComponentDeclaration && c != null) {
ISeamXmlComponentDeclaration xml = (ISeamXmlComponentDeclaration)loaded;
onXMLLoadedDeclaration(c, oldClassName, xml);
}
Show replies by date