Author: rob.stryker(a)jboss.com
Date: 2007-07-20 17:18:07 -0400 (Fri, 20 Jul 2007)
New Revision: 2576
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/model/descriptor/XPathCategory.java
Log:
null pointer error. forgot to prime the children map.
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/model/descriptor/XPathCategory.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/model/descriptor/XPathCategory.java 2007-07-20
21:09:58 UTC (rev 2575)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/model/descriptor/XPathCategory.java 2007-07-20
21:18:07 UTC (rev 2576)
@@ -33,6 +33,7 @@
}
public XPathQuery getQuery(String name) {
+ getQueries();
return (XPathQuery)children.get(name);
}
public void addQuery(XPathQuery query) {
Show replies by date