Actions
Bug #4064
closedNullPointerException in ConfigurationReader
Start date:
2018-12-11
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.9
Fix Committed on Branch:
9.9
Fixed in Maintenance Release:
Platforms:
Description
Using Saxon 9.8 and passing to the ConfigurationReader an XML file which is not a Saxon configuration file, leads to a NullPointerException:
java.lang.NullPointerException
at net.sf.saxon.trans.ConfigurationReader.endDocument(ConfigurationReader.java:191)
at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidatorXerces.endDocument(XMLDTDValidatorXerces.java:1014)
at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(XMLDocumentScannerImpl.java:526)
This is because the "config" field is null when the "endDocument" callback is issued.
Updated by Michael Kay over 5 years ago
- Category set to Diagnostics
- Status changed from New to Resolved
- Assignee set to Michael Kay
- Priority changed from Low to Normal
- Applies to branch 9.9 added
- Fix Committed on Branch 9.9 added
Fix committed; unit test added.
Updated by O'Neil Delpratt over 5 years ago
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.9.1.1 added
Bug fix applied to the Saxon 9.9.1.1 maintenance release.
Updated by O'Neil Delpratt over 5 years ago
- Status changed from Resolved to Closed
Please register to edit this issue
Actions