Project

Profile

Help

Bug #2243

closed

NullPointerException in MessageEmitter.endDocument()

Added by Michael Kay over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internals
Sprint/Milestone:
Start date:
2014-11-28
Due date:
% Done:

100%

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

Description

A NullPointerException has been reported in the method MessageEmitter.endDocument(). It appears that the "writer" variable was null. Although it has not been possible to reproduce it, other related methods check that writer is not null, so it seems prudent to make a similar check in this method. The problem was observed in 9.6, although the failing code is identical in 9.5. To minimize risk, given the inability to test the fix, I will patch it only on the 9.6 and 9.7 branches, not on 9.5.

Actions #1

Updated by Michael Kay over 9 years ago

A patch has been produced for the 9.6 and 9.7 branches in MessageEmitter.endDocument()

Actions #2

Updated by Michael Kay over 9 years ago

  • Status changed from In Progress to Resolved
Actions #3

Updated by O'Neil Delpratt over 9 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 9.6.0.3

Bug fix patch applied to the Saxon 9.6.0.3 maintenance release

Actions #4

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone set to 9.6.0.3
  • Applies to branch 9.6 added
  • Fix Committed on Branch 9.6 added
  • Fixed in Maintenance Release 9.6.0.3 added

Please register to edit this issue

Also available in: Atom PDF