NPE in QuerySimpleContentConstructor
Added by Anonymous over 19 years ago
Legacy ID: #3061247 Legacy Poster: marcvc (marcvc)
Michael, a NPE new to Saxon 8.3. For example, consider the following query: let $v := <a/>//b return attribute a {($v + 1)} Results in: java.lang.NullPointerException at net.sf.saxon.instruct.QuerySimpleContentConstructor.evaluateItem(QuerySimpleContentConstructor.java:52) at net.sf.saxon.instruct.SimpleNodeConstructor.expandChildren(SimpleNodeConstructor.java:104) at net.sf.saxon.instruct.FixedAttribute.processLeavingTail(FixedAttribute.java:189) at net.sf.saxon.instruct.Instruction.process(Instruction.java:87) at net.sf.saxon.expr.LetExpression.process(LetExpression.java:125) at net.sf.saxon.instruct.DocumentInstr.evaluateItem(DocumentInstr.java:217) at net.sf.saxon.instruct.DocumentInstr.processLeavingTail(DocumentInstr.java:152) at net.sf.saxon.instruct.Instruction.process(Instruction.java:87) at net.sf.saxon.query.XQueryExpression.run(XQueryExpression.java:279) at net.sf.saxon.Query.doMain(Query.java:389) at net.sf.saxon.Query.main(Query.java:76) Thanks, Marc
Replies (1)
RE: NPE in QuerySimpleContentConstructor - Added by Anonymous over 19 years ago
Legacy ID: #3061641 Legacy Poster: Michael Kay (mhkay)
I have posted this bug and a source fix at https://sourceforge.net/tracker/index.php?func=detail&aid=1168570&group_id=29872&atid=397617 Michael Kay
Please register to reply