Index: src/org/jboss/tools/seam/internal/core/SeamProject.java =================================================================== --- src/org/jboss/tools/seam/internal/core/SeamProject.java (revision 20277) +++ src/org/jboss/tools/seam/internal/core/SeamProject.java (working copy) @@ -851,7 +851,7 @@ ISeamXmlComponentDeclaration[] xds = oc.getXmlDeclarations().toArray(new ISeamXmlComponentDeclaration[0]); for (ISeamXmlComponentDeclaration x: xds) { String n = x.getName(); - if(loadedClassName.equals(x.getClassName()) && (n == null || n.length() == 0)) { + if(loadedClassName != null && loadedClassName.equals(x.getClassName()) && (n == null || n.length() == 0)) { old.put(((SeamXmlComponentDeclaration)x).getId(), x); nameless.add(x); }