Project

Profile

Help

Bug #3534

closed

Simple map operator, fn:min

Added by Christian Grün over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Byte code generation
Sprint/Milestone:
-
Start date:
2017-11-16
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7, 9.8, trunk
Fix Committed on Branch:
9.7, 9.8, trunk
Fixed in Maintenance Release:
Platforms:

Description

And yet another one (that may already have been fixed?): The query (1e0, 1) ! min(.) yields this:

java.lang.NullPointerException
        at net.sf.saxon.expr.AtomicSequenceConverter$AtomicSequenceMappingFunction.mapItem(AtomicSequenceConverter.java:289)
        at net.sf.saxon.expr.AtomicSequenceConverter$AtomicSequenceMappingFunction.mapItem(AtomicSequenceConverter.java:280)
        at net.sf.saxon.expr.ItemMappingIterator.next(ItemMappingIterator.java:113)
        at EE_main_01422222071.process(file:/c:/Users/user/Desktop/query.xq:1)
        at com.saxonica.ee.bytecode.CompiledExpression.process(CompiledExpression.java:70)
        at net.sf.saxon.query.XQueryExpression.run(XQueryExpression.java:408)
        at net.sf.saxon.s9api.XQueryEvaluator.run(XQueryEvaluator.java:370)
        at net.sf.saxon.Query.runQuery(Query.java:900)
        at net.sf.saxon.Query.doQuery(Query.java:442)
        at net.sf.saxon.Query.main(Query.java:111)

Please register to edit this issue

Also available in: Atom PDF