Project

Profile

Help

NPE during explain

Added by Anonymous almost 20 years ago

Legacy ID: #2899439 Legacy Poster: marcvc (marcvc)

Michael, I just noticed that the plan explain (I mean -e on the command line) results sometimes in a NPE in case of the absence of a content expression in a computed element. Consider the following query, a slightly different variant from my previous posting: let $v := <e>abc</e> return element {data($v)} {} Results in: java.lang.NullPointerException at net.sf.saxon.instruct.Element.display(Element.java:234) at net.sf.saxon.expr.LetExpression.display(LetExpression.java:180) at net.sf.saxon.query.XQueryExpression.explain(XQueryExpression.java:325) at net.sf.saxon.Query.doMain(Query.java:345) at net.sf.saxon.Query.main(Query.java:69) Thanks, Marc


Replies (1)

RE: NPE during explain - Added by Anonymous almost 20 years ago

Legacy ID: #2908337 Legacy Poster: Michael Kay (mhkay)

Thanks, this problem seems to have been fixed in Saxon 8.2.

    (1-1/1)

    Please register to reply