DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23252>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23252 org.apache.xml.serializer.Utils throws NullPointerException Summary: org.apache.xml.serializer.Utils throws NullPointerException Product: XalanJ2 Version: CurrentCVS Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: org.apache.xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When using a custom ContentHandler to serialize the output from a transformation, xalan throws a null pointer exception if the class specified in the xalan:Content-Handler attribute of the output method cannot be loaded. This can easily be see by inspection. Line 110 of Utils.java: CacheHolder.cache.put(classname, null); where cache is a HashTable. This will throw a null pointer every time due to the null. A HashTable will throw a null pointer if either the key or value is null.
