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

*** shadow/2642 Mon Jul 16 11:55:19 2001
--- shadow/2642.tmp.29496       Tue Jul 17 13:26:44 2001
***************
*** 2,9 ****
  | NPE in DTMNodeIterator.nextNode at line 198                                |
  +----------------------------------------------------------------------------+
  |        Bug #: 2642                        Product: XalanJ2                 |
! |       Status: NEW                         Version: CurrentCVS              |
! |   Resolution:                            Platform: All                     |
  |     Severity: Major                    OS/Version: All                     |
  |     Priority: Other                     Component: org.apache.xml.dtm      |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | NPE in DTMNodeIterator.nextNode at line 198                                |
  +----------------------------------------------------------------------------+
  |        Bug #: 2642                        Product: XalanJ2                 |
! |       Status: RESOLVED                    Version: CurrentCVS              |
! |   Resolution: FIXED                      Platform: All                     |
  |     Severity: Major                    OS/Version: All                     |
  |     Priority: Other                     Component: org.apache.xml.dtm      |
  +----------------------------------------------------------------------------+
***************
*** 41,44 ****
  java.lang.NullPointerException:
    at org.apache.xml.dtm.ref.DTMNodeIterator.nextNode(DTMNodeIterator.java: 198)
    at ApplyXPath.doMain(Compiled Code)
!   at ApplyXPath.main(ApplyXPath.java:158)
--- 41,50 ----
  java.lang.NullPointerException:
    at org.apache.xml.dtm.ref.DTMNodeIterator.nextNode(DTMNodeIterator.java: 198)
    at ApplyXPath.doMain(Compiled Code)
!   at ApplyXPath.main(ApplyXPath.java:158)
! 
! ------- Additional Comments From [EMAIL PROTECTED]  2001-07-17 13:26 -------
! The problem was that org.apache.xpath.NodeSetDTM returns null for getDTM(). 
! Changed the constructors of NodeSetDTM (when necessary) to take a DTMManager as 
! a parameter, and a new variable has been created to hold the DTMManager. 
! Additional code had to change to use the new constructors.   

Reply via email to