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.
Please register to edit this issue
Actions