BranchElement throws a NPE on the JDK when getElementIndex is called and the BranchElement has no children. Classpath currently returns -1. New test submitted. 2005-09-28 Anthony Balkissoon * gnu/testlet/javax/swing/text/AbstractDocument/BranchElement/getElementIndexNullPointer.java: New test. --Tony