DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5242>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5242

ArrayIndexOutOfBounds Exception

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From [EMAIL PROTECTED]  2001-12-03 10:27 -------
Hm. I'm getting a crash in OneStepIterator.setRoot(), calling 
PrecedingSiblingIterator.setStartNode...
          _currentNode = getFirstChild(getParent(node));
At the point of failure, "node" is the Document node, getParent is correctly 
returning DTM.NULL, and getFirstChild(NULL) is not happy. 

Right fix seems to be to make PrecedingSiblingIterator.setRoot more robust so it 
tolerates starting from a Document node. I'll check in the patch -- yeah, we're 
in a holding pattern for 2.2, but this particular change is extremely low risk.

Reply via email to