Author: akazakov
Date: 2010-03-03 13:36:42 -0500 (Wed, 03 Mar 2010)
New Revision: 20624
Modified:
branches/jbosstools-3.1.x/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractTagLib.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5989
Modified:
branches/jbosstools-3.1.x/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractTagLib.java
===================================================================
---
branches/jbosstools-3.1.x/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractTagLib.java 2010-03-03
18:18:49 UTC (rev 20623)
+++
branches/jbosstools-3.1.x/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractTagLib.java 2010-03-03
18:36:42 UTC (rev 20624)
@@ -102,6 +102,9 @@
List<IComponent> list = new ArrayList<IComponent>();
IComponent[] comps = getComponents();
for (int i = 0; i < comps.length; i++) {
+ if(comps[i].getName()==null) {
+ continue;
+ }
if(ignoreCase) {
if(!(comps[i] instanceof CustomComponentExtension) &&
comps[i].getName().toLowerCase().startsWith(nameTemplate.toLowerCase()) &&
(context==null || checkExtended(comps[i], context))) {
list.add(comps[i]);