Project

Profile

Help

Bug #6348

closed

net.sf.saxon.expr.XPathContextMajor.getTargetComponent throws NullPointerException - race condition

Added by Johan Gheys 9 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Multithreading
Sprint/Milestone:
-
Start date:
2024-02-15
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

I don't know if this bug deserves much attention since (a) the problem occurs only occasionally and (b) saxon:transform() will soon be replaced by fn:transform() with an extra parameter anyway (see #6339), but herewith the error message since this might help to improve the code:

2024-02-15 08:52:15 [INFO] Launching /micro/merge-split-and-purge-versions.xslt
2024-02-15 08:52:15 [INFO] 	parameter input-folder=C:/Data/Interfac/INT/intb/micro/8.2/tmp/
2024-02-15 08:52:15 [INFO] 	parameter latest-release-folder=C:/Data/Interfac/INT/intb/micro/8.2/latest-release/
2024-02-15 08:52:15 [INFO] 	parameter output-folder=C:/Data/Interfac/INT/intb/micro/8.2/
2024-02-15 08:52:15 [INFO] 	parameter purge-date=2024-02-05
2024-02-15 08:52:15 [INFO] 	parameter split-date=2024-02-05
2024-02-15 08:52:15 [INFO] 	parameter working-date=2024-02-25
2024-02-15 08:52:15 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/catenaryCase.xml
2024-02-15 08:52:16 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/gigBySerZone.xml
2024-02-15 08:52:16 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/graphicalCatenaryCase.xml
2024-02-15 08:52:18 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/graphicalEdge.xml
2024-02-15 08:52:19 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/graphicalLevelCrossing.xml
2024-02-15 08:52:21 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/graphicalNode.xml
2024-02-15 08:52:23 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/graphicalPlatform.xml
2024-02-15 08:52:23 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/gridInterGrid.xml
2024-02-15 08:52:23 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/levelCrossing.xml
2024-02-15 08:52:24 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/location.xml
2024-02-15 08:52:24 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/milestone.xml
2024-02-15 08:52:26 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/node.xml
java.lang.NullPointerException
	at net.sf.saxon.expr.XPathContextMajor.getTargetComponent(XPathContextMajor.java:684)
	at net.sf.saxon.expr.instruct.ApplyTemplates.getTargetMode(ApplyTemplates.java:303)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:613)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:376)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:376)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.ResultDocument.processInstruction(ResultDocument.java:403)
	at com.saxonica.config.EnterpriseConfiguration.lambda$processResultDocument$1(EnterpriseConfiguration.java:1926)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
java.lang.NullPointerException
	at net.sf.saxon.expr.XPathContextMajor.getTargetComponent(XPathContextMajor.java:684)
	at net.sf.saxon.expr.instruct.ApplyTemplates.getTargetMode(ApplyTemplates.java:303)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:613)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:376)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:376)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.ResultDocument.processInstruction(ResultDocument.java:403)
	at com.saxonica.config.EnterpriseConfiguration.lambda$processResultDocument$1(EnterpriseConfiguration.java:1926)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
java.lang.RuntimeException: Internal error evaluating template rule  in module jar:file:int-batch-DEV-SNAPSHOT.jar!/micro/merge-split-and-purge-versions.xslt
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:386)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:376)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.ResultDocument.processInstruction(ResultDocument.java:403)
	at com.saxonica.config.EnterpriseConfiguration.lambda$processResultDocument$1(EnterpriseConfiguration.java:1926)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
	at net.sf.saxon.expr.XPathContextMajor.getTargetComponent(XPathContextMajor.java:684)
	at net.sf.saxon.expr.instruct.ApplyTemplates.getTargetMode(ApplyTemplates.java:303)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:613)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:376)
	... 17 more
java.lang.NullPointerException
	at net.sf.saxon.expr.XPathContextMajor.getTargetComponent(XPathContextMajor.java:684)
	at net.sf.saxon.expr.instruct.ApplyTemplates.getTargetMode(ApplyTemplates.java:303)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:613)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:376)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:376)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.ResultDocument.processInstruction(ResultDocument.java:403)
	at com.saxonica.config.EnterpriseConfiguration.lambda$processResultDocument$1(EnterpriseConfiguration.java:1926)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
java.lang.RuntimeException: Internal error evaluating template rule  in module jar:file:int-batch-DEV-SNAPSHOT.jar!/micro/merge-split-and-purge-versions.xslt
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:386)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:376)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.ResultDocument.processInstruction(ResultDocument.java:403)
	at com.saxonica.config.EnterpriseConfiguration.lambda$processResultDocument$1(EnterpriseConfiguration.java:1926)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
	at net.sf.saxon.expr.XPathContextMajor.getTargetComponent(XPathContextMajor.java:684)
	at net.sf.saxon.expr.instruct.ApplyTemplates.getTargetMode(ApplyTemplates.java:303)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:613)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:376)
	... 17 more
2024-02-15 08:52:29 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/nodeByCatenaryCase.xml
2024-02-15 08:52:31 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/nodeByGig.xml
2024-02-15 08:52:34 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/nodeByLocation.xml
2024-02-15 08:52:53 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/nodeByRouteEdge.xml
2024-02-15 08:53:12 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/nodeByTrackEdge.xml
2024-02-15 08:53:15 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/platform.xml
2024-02-15 08:53:15 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/platformSide.xml
2024-02-15 08:53:17 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/routeEdge.xml
2024-02-15 08:53:21 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/shape.xml
2024-02-15 08:53:21 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/style.xml
2024-02-15 08:53:21 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/subLocation.xml
2024-02-15 08:53:22 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/trackEdge.xml
2024-02-15 08:53:23 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/validityDate.xml
2024-02-15 08:53:24 [DEBUG] Exporting file:/C:/Data/Interfac/INT/intb/micro/8.2/view.xml
java.lang.RuntimeException: Internal error evaluating template rule  in module jar:file:int-batch-DEV-SNAPSHOT.jar!/micro/merge-split-and-purge-versions.xslt
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:386)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.ResultDocument.processInstruction(ResultDocument.java:403)
	at com.saxonica.config.EnterpriseConfiguration.lambda$processResultDocument$1(EnterpriseConfiguration.java:1926)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Internal error evaluating template rule  in module jar:file:int-batch-DEV-SNAPSHOT.jar!/micro/merge-split-and-purge-versions.xslt
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:386)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:376)
	... 11 more
Caused by: java.lang.NullPointerException
	at net.sf.saxon.expr.XPathContextMajor.getTargetComponent(XPathContextMajor.java:684)
	at net.sf.saxon.expr.instruct.ApplyTemplates.getTargetMode(ApplyTemplates.java:303)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:613)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:376)
	... 17 more
Some child xsl:result-document threads have not finished
Error 
   java.lang.RuntimeException: Internal error evaluating template rule  in module
  jar:file:int-batch-DEV-SNAPSHOT.jar!/micro/merge-split-and-purge-versions.xslt
java.lang.RuntimeException: Internal error evaluating template rule  in module
  jar:file:int-batch-DEV-SNAPSHOT.jar!/micro/merge-split-and-purge-versions.xslt
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:386)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.ResultDocument.processInstruction(ResultDocument.java:403)
	at com.saxonica.config.EnterpriseConfiguration.lambda$processResultDocument$1(EnterpriseConfiguration.java:1926)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Internal error evaluating template rule  in module jar:file:int-batch-DEV-SNAPSHOT.jar!/micro/merge-split-and-purge-versions.xslt
	at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:386)
	at net.sf.saxon.trans.Mode.handleRuleNotNull(Mode.java:587)
	at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:521)
	at net.sf.saxon.expr.instruct.ApplyTemplates$ApplyTemplatesElaborator.lambda$elaborateForPush$1(ApplyTemplates.java:650)
	at net.sf.saxon.expr.instruct.Block$BlockElaborator.lambda$elaborateForPush$1(Block.java:853)
	at net.sf.saxon.expr.instruct.Copy$CopyElaborator.lambda$elaborateForPush$0(Copy.java:589)
	at net.sf.saxon.expr.instruct.TemplateRule.a
Error in xsl:sequence/@select on line 33 column 45 of batch.xslt:
  FOER0000  Error signalled by application call on error()
In template xsl:initial-template on line 13 column 56 of batch.xslt:
     Focus: absent
     Local variables
        $vv:v0 {fn:current-date() lt xs:date("2000-01-01")} = false()
        $startTime = xs:dateTimeStamp("2024-02-15T08:46:43.449+01:00")
In template xsl:initial-template on line 13 column 56 of batch.xslt:
     Focus: absent
     Local variables
        $vv:v0 {fn:current-date() lt xs:date("2000-01-01")} = false()
        $startTime = xs:dateTimeStamp("2024-02-15T08:46:43.449+01:00")
Error signalled by application call on error()
2024-02-15 08:53:34 [ERROR] description: java.lang.RuntimeException: Internal error evaluating template rule  in module jar:file:int-batch-DEV-SNAPSHOT.jar!/micro/merge-split-and-purge-versions.xslt(Internal error evaluating template rule  in module jar:file:int-batch-DEV-SNAPSHOT.jar!/micro/merge-split-and-purge-versions.xslt)
2024-02-15 08:53:34 [ERROR] module: jar:file:int-batch-DEV-SNAPSHOT.jar!/shared/shared-functions.xslt
2024-02-15 08:53:34 [ERROR] line-number: 1062
2024-02-15 08:53:34 [ERROR] Batch execution failed - see above output for any hints

The dataset attached is, of course, a filtered dataset to avoid unnecessarily increasing the upload volume.


Files

saxon-transform-6348.zip (3.26 MB) saxon-transform-6348.zip Johan Gheys, 2024-02-15 11:34
shared-functions.xslt (57.5 KB) shared-functions.xslt Johan Gheys, 2024-02-15 11:48

Related issues

Has duplicate Saxon - Bug #6425: When the saxon:thread attribute is set for xsl:for-each in saxon-ee-12.4 (enterprise edition), NullPointException and ClassCastException occasionally occur in multi-thread scenarios.DuplicateMichael Kay2024-05-152024-06-30

Actions

Please register to edit this issue

Also available in: Atom PDF