Project

Profile

Help

Bug #6098

closed

SaxonApiException::getSystemId() throws NullPointerException

Added by O'Neil Delpratt 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
Saxon-C Internals
Start date:
2023-06-26
Due date:
% Done:

100%

Estimated time:
Found in version:
12.2
Fixed in version:
12.3
Platforms:

Description

Reported by user here:

If the URI of the module associated with the exception is unknown the getSystemID() crashes with a NPE.

Actions #1

Updated by O'Neil Delpratt 10 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90

I have applied a fix for this bug in the SaxonCException java class.

Add some test cases for getSystemId().

Actions #2

Updated by O'Neil Delpratt 10 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

Added unit tests in the C++ samples.

Actions #3

Updated by O'Neil Delpratt 10 months ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 12.3

Bug fix applied in the SaxonC 12.3 maintenance release.

Please register to edit this issue

Also available in: Atom PDF