Author: mareshkau
Date: 2008-12-01 10:41:47 -0500 (Mon, 01 Dec 2008)
New Revision: 12169
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
Log:
JBIDE-3205
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2008-12-01
15:38:43 UTC (rev 12168)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2008-12-01
15:41:47 UTC (rev 12169)
@@ -1480,6 +1480,10 @@
}
private void cleanHead() {
+ //Fix for JBIDE-3205, mareshkau
+ if(getHeadNode()==null) {
+ return;
+ }
nsIDOMNodeList children = getHeadNode().getChildNodes();
long len = children.getLength();
for (long i = len - 1; i >= 0; i--) {
@@ -1512,6 +1516,7 @@
}
}
}
+
}
private class PseudoInfo {
Show replies by date