Project

Profile

Help

Bug #4475

closed

collection() fails java.util.concurrent.ExecutionException: java.lang.NegativeArraySizeException in 9.9.1.7

Added by Michael Kay about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2020-03-06
Due date:
% Done:

100%

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

Description

Reported by email.

A call on collection() that worked in 9.9.1.6 is failing with 9.9.1.7. Repro supplied.

Actions #1

Updated by Michael Kay about 4 years ago

This is a regression caused by bug #4382. The fix to that bug takes the code down the path of BinaryResource.readBinaryFromConn(), which has not changed, but was not previously invoked for this use case. This code is assuming that the content headers for the HTTP response will include a "content-length" header, which cannot be guaranteed.

Actions #2

Updated by Michael Kay about 4 years ago

  • Status changed from New to Resolved
  • Applies to branch 9.9, trunk added
  • Fix Committed on Branch 9.9, trunk added
Actions #3

Updated by O'Neil Delpratt about 4 years ago

  • Fixed in Maintenance Release 10.0 added

Bug fix applied in the Saxon 10 major release.

Actions #4

Updated by O'Neil Delpratt over 3 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.9.1.8 added

Bug fix applied on the Saxon 9.9.1.8 maintenance release.

Please register to edit this issue

Also available in: Atom PDF