You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/03/19 08:33:43 UTC

[Bug 997] Changed - for-each causes a NullPointerException when used with document() extension

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

*** shadow/997	Fri Mar 16 11:35:30 2001
--- shadow/997.tmp.3600	Sun Mar 18 23:33:43 2001
***************
*** 2,11 ****
  | for-each causes a NullPointerException when used with document() extension |
  +----------------------------------------------------------------------------+
  |        Bug #: 997                         Product: XalanJ2                 |
! |       Status: NEW                         Version: 2.0.0                   |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Major                    OS/Version: Windows NT/2K           |
! |     Priority:                           Component: Xalan                   |
  +----------------------------------------------------------------------------+
  |  Assigned To: xalan-dev@xml.apache.org                                     |
  |  Reported By: acslocum@thoughtworks.com                                    |
--- 2,11 ----
  | for-each causes a NullPointerException when used with document() extension |
  +----------------------------------------------------------------------------+
  |        Bug #: 997                         Product: XalanJ2                 |
! |       Status: RESOLVED                    Version: 2.0.0                   |
! |   Resolution: FIXED                      Platform: PC                      |
  |     Severity: Major                    OS/Version: Windows NT/2K           |
! |     Priority: High                      Component: Xalan                   |
  +----------------------------------------------------------------------------+
  |  Assigned To: xalan-dev@xml.apache.org                                     |
  |  Reported By: acslocum@thoughtworks.com                                    |
***************
*** 156,159 ****
  rImpl.java:1189)
          at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
  :2894)
!         at java.lang.Thread.run(Thread.java:484)
--- 156,164 ----
  rImpl.java:1189)
          at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
  :2894)
!         at java.lang.Thread.run(Thread.java:484)
! 
! ------- Additional Comments From garyp@firstech.com  2001-03-18 23:33 -------
! This works fine with the latest build from CVS.  I believe this change was fixed 
! with version 1.6 of ChildWalkerMultiStep.  The problem is with an XPath 
! consisting of children (/ separators) where the node-set is empty.