Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001916 [Resin] minor always 07-30-07 17:29 08-13-07 10:24
Reporter ccwf View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.3 Product Version 3.1.1
  Product Build
Summary 0001916: Resin NodeList implementation of item(0) fails for empty NodeLists
Description Spec requires that item(0) return null for empty NodeLists. With Resin's implementation (QDeepNodeList), it throws a null pointer exception.
Steps To Reproduce
Additional Information The bug also affects Resin 3.0.23. Here's a sample JSP that demonstrates the bug:

<%@ page import="javax.xml.parsers.*" %>
<%=
DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument().getElementsByTagName("foo").item(0)
%>
Attached Files

- Relationships

- Notes
(0002164)
ccwf
07-30-07 18:13

Test passes for 3.1.2.
 

- Issue History
Date Modified Username Field Change
07-30-07 17:29 ccwf New Issue
07-30-07 18:13 ccwf Note Added: 0002164
08-13-07 10:21 ferg Assigned To  => ferg
08-13-07 10:21 ferg Status new => closed
08-13-07 10:21 ferg Resolution open => fixed
08-13-07 10:21 ferg Fixed in Version  => 3.1.2
08-13-07 10:24 ferg Fixed in Version 3.1.2 => 3.1.3


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker