Project

Profile

Help

Bug #2914

closed

Concurrency Issue: Internal error evaluating template

Added by Oussama Cherif about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
s9api API
Sprint/Milestone:
Start date:
2016-08-31
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.6, 9.7, trunk
Fix Committed on Branch:
9.6, 9.7, trunk
Fixed in Maintenance Release:
Platforms:

Description

Hello,

I had a strange Saxonica error in my application.

When i launched the XSLT transformation for the first time i got the error below but at the second time everything was OK.

The line 33 of my XSLT is:

<xsl:template match="/MyService/*/OST/dividende">

Could you please advice me?

Kind Regards

java.lang.RuntimeException: Internal error evaluating template at line 33 in module file:/D:/Proj/xslt/transfo.xslt

at net.sf.saxon.expr.instruct.Template.applyLeavingTail(Template.java:353)

at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1155)

at net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:65)

at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1131)

at net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:65)

at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1131)

at net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:65)

at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1131)

at net.sf.saxon.trans.TextOnlyCopyRuleSet.process(TextOnlyCopyRuleSet.java:65)

at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:1131)

at net.sf.saxon.Controller.transformDocument(Controller.java:2108)

at net.sf.saxon.Controller.transform(Controller.java:1704)

at net.sf.saxon.s9api.XsltTransformer.transform(XsltTransformer.java:547)

Caused by: java.lang.IndexOutOfBoundsException: Index: 2, Size: 6

at java.util.ArrayList.rangeCheck(ArrayList.java:653)

at java.util.ArrayList.get(ArrayList.java:429)

at com.saxonica.ee.optim.IndexedValue.findItems(IndexedValue.java:141)

at com.saxonica.ee.optim.IndexedFilterExpression.iterate(IndexedFilterExpression.java:358)

at net.sf.saxon.value.Closure.iterate(Closure.java:182)

at net.sf.saxon.expr.VariableReference.iterate(VariableReference.java:449)

at net.sf.saxon.expr.instruct.ForEach.iterate(ForEach.java:441)

at net.sf.saxon.value.Closure.iterate(Closure.java:182)

at net.sf.saxon.expr.UserFunctionCall.iterate(UserFunctionCall.java:475)

at net.sf.saxon.expr.VennExpression.iterate(VennExpression.java:589)

at net.sf.saxon.expr.instruct.ApplyTemplates.apply(ApplyTemplates.java:255)

at net.sf.saxon.expr.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:231)

at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:672)

at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:689)

at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:672)

at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)

at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:452)

at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:391)

at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:672)

at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)

at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:452)

at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:391)

at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)

at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:452)

at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:391)

at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:144)

at net.sf.saxon.expr.instruct.ResultDocument.processInstruction(ResultDocument.java:603)

at net.sf.saxon.Configuration.processResultDocument(Configuration.java:1860)

at com.saxonica.config.EnterpriseConfiguration.processResultDocument(EnterpriseConfiguration.java:1598)

at net.sf.saxon.expr.instruct.ResultDocument.process(ResultDocument.java:519)

at net.sf.saxon.expr.instruct.ResultDocument.processLeavingTail(ResultDocument.java:505)

at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:672)

at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:689)

at net.sf.saxon.expr.instruct.Template.applyLeavingTail(Template.java:340)

... 20 common frames omitted

Please register to edit this issue

Also available in: Atom PDF