Project

Profile

Help

Bug #3072

closed

NullPointerException if EXPAND_ATTRIBUTE_DEFAULTS off and selector on attribute

Added by Petr K over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Schema-Aware processing
Sprint/Milestone:
-
Start date:
2016-12-14
Due date:
% Done:

100%

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

Description

NLP for the attached test case:

Exception in thread "main" java.lang.NullPointerException

at net.sf.saxon.expr.CompareToIntegerConstant.effectiveBooleanValue(CompareToIntegerConstant.java:183)

at net.sf.saxon.expr.FilterIterator$NonNumeric.matches(FilterIterator.java:198)

at net.sf.saxon.expr.FilterIterator.getNextMatchingItem(FilterIterator.java:81)

at net.sf.saxon.expr.FilterIterator.next(FilterIterator.java:64)

at net.sf.saxon.expr.Expression.evaluateItem(Expression.java:772)

at net.sf.saxon.expr.SimpleStepExpression.iterate(SimpleStepExpression.java:110)

at net.sf.saxon.expr.Atomizer.iterate(Atomizer.java:307)

at net.sf.saxon.query.XQueryExpression.iterator(XQueryExpression.java:323)

at com.saxonica.xqj.SaxonXQPreparedExpression.executeQuery(SaxonXQPreparedExpression.java:93)

at com.saxonica.xqj.SaxonXQExpression.executeQuery(SaxonXQExpression.java:96)

at Run.main(Run.java:25)

Files

AbstractType.zip (2.56 KB) AbstractType.zip Petr K, 2016-12-14 13:23

Please register to edit this issue

Also available in: Atom PDF