Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.8.2
-
None
Description
The default java XMLStreamWriterImpl writeXMLContent() requires that the content argument be non-null. Attributes in a Log4J component configuration may be null which breaks export.
DefaultConfigurationBuilder.writeXmlAttributes() needs to perform a null check for every attribute before passing it to XMLStreamWriterImpl.writeAttribute().