Works in oXygen; null pointer error from the command line

Graydon Saunders <[email protected]> Wed, 21 Apr 2021 17:49:41 -0400
Newsgroups gmane.text.xml.saxon.help
Message-ID <CAO3ciQESJcxbDScf3gQT9Tkq0xvi_GHA8k4P8FNfPYMtevk-tg@mail.gmail.com>
Hello!

So in oXygen (<oXygen/> XML Editor 23.1, build 2021040908) with the 10.3
external add-on, the transform (small.xsl) works.  oXygen 23 uses a Java 15
JRE

17:40 bin % ./java --version
openjdk 15.0.1 2020-10-20
OpenJDK Runtime Environment (build 15.0.1+9-18)
OpenJDK 64-Bit Server VM (build 15.0.1+9-18, mixed mode)

If I try to call small.xsl from the shell (Linux; Fedora 33, bash 5.0.17)
using small.sh, I get a null pointer error.

I believe I have exhausted my ingenuity on this one and have a minimal
example which I would prefer to send under separate cover.

The code from which the minimal example has been extracted has been working
fine in oXygen; trying to run it from the command line for automated
testing purposes hasn't made it past the null pointer error.  Various other
transforms run fine, Saxon finds the license OK, etc.  I get what I think
is the same error with Saxon 10.3 and 10.5, and with Java 11 and Java 16.

15:48 tests % java --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment 18.9 (build 11.0.10+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.10+9, mixed mode, sharing)

15:54 tests % /etc/alternatives/java_sdk_16/bin/java --version
openjdk 16 2021-03-16
OpenJDK Runtime Environment 21.3 (build 16+36)
OpenJDK 64-Bit Server VM 21.3 (build 16+36, mixed mode, sharing)

Thanks!
Graydon

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help