Actions
Bug #1580
closedNullPointerException when function-lookup() retrieves the uri-collection() function
Start date:
2012-07-11
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
The following query (taken from W3C FOTS:fn-function-lookup-376) causes Saxon to throw a NullPointer Exception:
function-lookup(fn:QName('http://www.w3.org/2005/xpath-functions', 'uri-collection'), 1)(())
The stack trace of the exception thrown is as follows:
java.lang.NullPointerException
at net.sf.saxon.functions.UriCollection.iterate(UriCollection.java:64)
at com.saxonica.functions.hof.FirstClassFunction.invoke(FirstClassFunction.java:104)
at com.saxonica.functions.hof.DynamicFunctionCallDefinition$DynamicFunctionCall.call(DynamicFunctionCallDefinition.java:158)
at net.sf.saxon.functions.IntegratedFunctionCall.iterate(IntegratedFunctionCall.java:235)
at net.sf.saxon.query.XQueryExpression.iterator(XQueryExpression.java:341)
at net.sf.saxon.s9api.XQueryEvaluator.evaluate(XQueryEvaluator.java:378)
at com.saxonica.testdriver.FOTestSuiteDriver.runTestCase(FOTestSuiteDriver.java:1142)
Updated by O'Neil Delpratt almost 12 years ago
- Status changed from New to Resolved
Bug fixed. Fix applied to the UriCollection
class in the iterate
method
Updated by O'Neil Delpratt almost 12 years ago
Change committed to svn repository.
Updated by Michael Kay almost 12 years ago
- Subject changed from NullPointer Exception found in function-lookup-376 test case to NullPointerException when function-lookup() retrieves the uri-collection() function
Updated by O'Neil Delpratt over 11 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.4.0.6
Please register to edit this issue
Actions