DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27827>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27827 Nested Extension Elements fails with NPE Summary: Nested Extension Elements fails with NPE Product: XalanJ2 Version: CurrentCVS Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.extensions AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If you are using extension elements and an Extension Element has child elements that contain other Extension Elements, the inner extension element will fail. I have traced the bug to the following thread ElemExtensionCall#execute, when it tries to flushPending() from the Result Tree Handler. ToSaxHandler#flushPending, m_needToCallStartDocument is true, and a call to startDocumentInternal is made. ToSaxHandler#startDocumentInternal, m_saxHandler is null so the call to startDocument fails with an NPE.
