Bug #5719
closedjava.lang.NullPointerException: Cannot invoke "net.sf.saxon.str.UnicodeString.length32()" because "s" is null
0%
Description
Upgrading from Saxon 10.5 EE to 11.4 EE causes transform to fail.
I tried using process of elimination on the data but couldn't figure out what's causing the issue. Saxon 10.5 works but 11.1 and 11.4 give the same errors.
The main XSL is Mercury_Parts_Catalog.xsl.
Saxon 10 works but Saxon 11 errors out: java -cp C:\Mercury_Stylesheets\saxon\saxon-ee-11.4.jar; net.sf.saxon.Transform -o:"d:\temp\outSaxon.fo" -s:"D:\temp\pcat_saxon11.4_sample\sampleXML\PCat test 98291983_fra_1_tiny_block.xml" -xsl:"C:\Mercury_Stylesheets\Mercury_Parts_Catalog.xsl" -warnings:silent java.lang.NullPointerException: Cannot invoke "net.sf.saxon.str.UnicodeString.length32()" because "s" is null … java.lang.RuntimeException: Internal error evaluating template rule at line 2209 in module file:/C:/Mercury_Stylesheets/Mercury_Parts_parts_list.xsl … Fatal error during transformation: java.lang.RuntimeException: Internal error evaluating template rule at line 26 in module file:/C:/Mercury_Stylesheets/Mercury_Parts_Catalog.xsl
Files
Please register to edit this issue