Project

Profile

Help

Bug #2804

closed

ArrayIndexOutOfBoundsException when reloading an XSLT export file containing a reflexive extension function call

Added by Michael Kay almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT export
Sprint/Milestone:
-
Start date:
2016-06-20
Due date:
% Done:

100%

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

Description

An ArrayIndexOutOfBoundsException occurs when reloading an XSLT export file containing a reflexive extension function call

java.lang.ArrayIndexOutOfBoundsException: 1

       at com.saxonica.expr.JavaExtensionFunctionCall.prepareForDynamicCall(JavaExtensionFunctionCall.java:247)

       at com.saxonica.trans.PackageLoaderPE$77.loadFrom(PackageLoaderPE.java:2369)

       at com.saxonica.trans.PackageLoaderPE.loadExpression(PackageLoaderPE.java:925)

       at com.saxonica.trans.PackageLoaderPE.access$500(PackageLoaderPE.java:49)

       at com.saxonica.trans.PackageLoaderPE$23.loadFrom(PackageLoaderPE.java:1572)

       at com.saxonica.trans.PackageLoaderPE.loadExpression(PackageLoaderPE.java:925)

       at com.saxonica.trans.PackageLoaderPE.getChildExpressionList(PackageLoaderPE.java:3119)

       at com.saxonica.trans.PackageLoaderPE.getChildExpressionArray(PackageLoaderPE.java:3125)

       at com.saxonica.trans.PackageLoaderPE$104.loadFrom(PackageLoaderPE.java:2804)
Actions #2

Updated by Michael Kay almost 8 years ago

  • Applies to branch deleted (9.8)
  • Fix Committed on Branch 9.7 added

A patch has been committed on the 9.7 branch. The problem does not affect the 9.8 branch.

Leaving open because we need to add test cases.

Actions #3

Updated by Michael Kay almost 8 years ago

  • Status changed from In Progress to Resolved
  • Priority changed from Low to Normal

Closing this; the feature is tested by running xslt3extra tests with the -export option.

Actions #4

Updated by O'Neil Delpratt almost 8 years ago

  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.7.0.7 added

Bug fix applied in the Saxon 9.7.0.7 maintenance release.

Actions #5

Updated by O'Neil Delpratt almost 8 years ago

  • Status changed from Resolved to Closed

Please register to edit this issue

Also available in: Atom PDF