Project

Profile

Help

Support #5774

closed

Xerces bug: java.lang.ArrayIndexOutOfBoundsException when reading a document with doc() function

Added by Johan Gheys almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2022-12-20
Due date:
% Done:

0%

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

Description

We use Saxon-EE 11.4 to perform a large number of transformations every day via a batch process. Normally, this happens smoothly until we recently bumped into a Xerces bug (java.lang.ArrayIndexOutOfBoundsException) when reading a file with the doc() function. A simple restart of the process solved the problem. The full error message can be found in attachment.


Files

Actions #1

Updated by Michael Kay almost 2 years ago

Strange, but I don't think there's much we can do about it, as it's not our product. Especially if it's transient.

Actions #2

Updated by Johan Gheys almost 2 years ago

Indeed. Apparently, this is a long-known Xerces bug that is still unresolved (see e.g. [[https://stackoverflow.com/questions/1919687/arrayindexoutofboundsexception-in-xerces-parsing]] ).

Actions #3

Updated by Michael Kay almost 2 years ago

Is this Apache Xerces or the version of Xerces in the JDK?

We used to recommend Apache as being the more reliable, but I think this is no longer the case; I get the impression bugs are being fixed in the JDK version but not in Apache.

Actions #4

Updated by Johan Gheys almost 2 years ago

Sorry for the confusion, but you are right because our bug has more to do with the version of Xerces in the JDK I suppose.

Actions #5

Updated by Johan Gheys almost 2 years ago

We have scheduled to migrate to IBM's latest JDK version on our servers. This ticket may therefore be closed.

Actions #6

Updated by Michael Kay almost 2 years ago

  • Status changed from New to Closed

Please register to edit this issue

Also available in: Atom PDF