NPE in Calabash with p:http-request

  Hi,

  I've just tried to use the file: URI scheme with p:http-request with
Calabash 0.9.9 (I like to version number, seems something important is
going to happen.)  The following (the URI is the name of the pipeline
file here, adapt it at home):

    <p:http-request>
       <p:input port="source">
          <p:inline>
             <c:request href="http-file-scheme.xproc" method="get"/>
          </p:inline>
       </p:input>
    </p:http-request>

gives the following error:

Error  : Pipeline failed: java.lang.NullPointerException
java.lang.NullPointerException
	at net.sf.saxon.event.ComplexContentOutputter.attribute(ComplexContentOutputter.java:352)
	at net.sf.saxon.tinytree.TinyElementImpl.copy(TinyElementImpl.java:336)
	at net.sf.saxon.event.ComplexContentOutputter.append(ComplexContentOutputter.java:491)
	at net.sf.saxon.event.ComplexContentOutputter.append(ComplexContentOutputter.java:485)
	at net.sf.saxon.expr.Expression.process(Expression.java:463)
	at net.sf.saxon.query.XQueryExpression.run(XQueryExpression.java:394)
	at net.sf.saxon.s9api.XQueryEvaluator.run(XQueryEvaluator.java:249)
	at com.xmlcalabash.io.WritableDocument.write(WritableDocument.java:147)
	at com.xmlcalabash.drivers.Main.run(Main.java:265)
	at com.xmlcalabash.drivers.Main.main(Main.java:65)

  Hope that helps,

-- 
Florent Georges
http://www.fgeorges.org/

Received on Friday, 1 May 2009 18:23:54 UTC