Project

Profile

Help

Bug #2243

closed

NullPointerException in MessageEmitter.endDocument()

Added by Michael Kay almost 10 years ago. Updated almost 9 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.

Please register to edit this issue

Also available in: Atom PDF