Description

[junit] java.lang.NullPointerException[junit] at org.jibx.runtime.impl.UTF8StreamWriter.writeMarkup(UTF8StreamWriter.java:96)[junit] at org.jibx.runtime.impl.XMLWriterBase.startTagOpen(XMLWriterBase.java:196)[junit] at org.jibx.extras.DomMapperBase.marshalElement(DomMapperBase.java:236)[junit] at org.jibx.extras.DomElementMapper.marshal(DomElementMapper.java:129)

The DOM document was created with no namespaces.

The supplied test case fails with null element and attribute names rather than a NPE, but is the same problem. The test case uses the existing classes and bindings from the extras test package.

Dennis Sosnoski
added a comment - 09/Mar/09 11:25 PM Implemented this is a slightly different manner for 1.2.1, but found the test code too difficult to use. Give it a try if you can, and either verify the fix or add more details.