Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RunTestReport causes NullPointerException when t:output contains non-xml content #251

dmj opened this issue Feb 8, 2017 · 0 comments


Copy link

@dmj dmj commented Feb 8, 2017

<t:test xmlns:t=""

  <t:title>Test directory-list-003</t:title>

    <p:declare-step version='1.0' xmlns:p=""
      <p:output port="result"/>

      <p:directory-list name="dirlist" path=".."/>


  <t:output port='result'>a</t:output>

dmaus@x220i ~/projects/1.0-test-suite (git)-[xproc10] % java -cp ~/bin/xmlcalabash-1.1.15-97/xmlcalabash-1.1.15-97.jar com.xmlcalabash.drivers.RunTestReport -D tests/required/directory-list-003.xml
Test: tests/required/directory-list-003.xml
Failed to obtain EE processor; using HE instead.
<test-report xmlns=''>
<title>XProc Test Results for XML Calabash</title>
  <version>1.1.15 (for Saxon</version>
  <name>XML Calabash</name>
  <vendor>Norman Walsh</vendor>
Running test: file:///home/dmaus/projects/1.0-test-suite/tests/required/directory-list-003.xml
Exception in thread "main" java.lang.NullPointerException
	at com.xmlcalabash.drivers.RunTestReport.runTest(
	at com.xmlcalabash.drivers.RunTestReport.reportRun(
	at com.xmlcalabash.drivers.RunTestReport.runTests(
	at com.xmlcalabash.drivers.RunTestReport.main(
java -cp ~/bin/xmlcalabash-1.1.15-97/xmlcalabash-1.1.15-97.jar  -D   7.32s user 0.12s system 144% cpu 5.134 total
1 dmaus@x220i ~/projects/1.0-test-suite (git)-[xproc10] % 
java version "1.7.0_121"
OpenJDK Runtime Environment (IcedTea 2.6.8) (Gentoo icedtea-
OpenJDK 64-Bit Server VM (build 24.121-b00, mixed mode)
@ndw ndw closed this in e87cbc4 Apr 6, 2017
ndw added a commit that referenced this issue Apr 6, 2017
ndw added a commit that referenced this issue Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.