[jdom-interest] Problems with new XMLOutputter

Aleksi Kallio aleksi.kallio at infomates.net
Tue Jul 18 04:04:43 PDT 2000


What might be causing this? (Document is created dynamically, using old deprecated methods - but that can't be the reason, can it? Old XMLOutputter works fine. It might be that I'm misusing the new XMLOutputter, but it could at least throw a more informative exception...)
 
java.lang.NullPointerException
        at org.jdom.output.XMLOutputter.escapeElementEntities(XMLOutputter.java:572)
        at org.jdom.output.XMLOutputter.printElement(XMLOutputter.java:401)
        at org.jdom.output.XMLOutputter.printElement(XMLOutputter.java:426)
        at org.jdom.output.XMLOutputter.printElement(XMLOutputter.java:426)
        at org.jdom.output.XMLOutputter.printElement(XMLOutputter.java:426)
        at org.jdom.output.XMLOutputter.printElement(XMLOutputter.java:426)
        at org.jdom.output.XMLOutputter.output(XMLOutputter.java:225)
        at org.jdom.output.XMLOutputter.output(XMLOutputter.java:250)
        at fi.infomates.tools.xml.Stylesheet.process(Stylesheet.java:15)
        




More information about the jdom-interest mailing list