Anonymous | Login | Signup for a new account | 03-31-2025 18:23 PDT |
Main | My View | View Issues | Change Log | Docs |
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 | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |