Author: dgolovin
Date: 2007-07-20 03:21:21 -0400 (Fri, 20 Jul 2007)
New Revision: 2534
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/TaglibMapping.java
Log:
Fixing NullPointerException
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/TaglibMapping.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/TaglibMapping.java 2007-07-20
07:17:25 UTC (rev 2533)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/TaglibMapping.java 2007-07-20
07:21:21 UTC (rev 2534)
@@ -213,6 +213,7 @@
private void findTldsInFolder(XModelObject folder, String base) {
XModelObject[] cs = folder.getChildren();
+ if(cs==null) return;
for (int i = 0; i < cs.length; i++) {
if(cs[i].getFileType() == XModelObject.FOLDER) {
findTldsInFolder(cs[i], base + cs[i].getAttributeValue("name") +
"/");