Serializer fails to check if Transformer is null before trying to get the 
ErrorListener from it.
------------------------------------------------------------------------------------------------

         Key: XALANJ-2282
         URL: http://issues.apache.org/jira/browse/XALANJ-2282
     Project: XalanJ2
        Type: Bug
    Reporter: Brian Minchau
    Priority: Minor


ToXMLStream.java has a private method: getXMLVerison()

The code has this line:
ErrorListener errHandler = tran.getErrorListener();

The code recovers correctly if errHandler is null,
but it shoul likewise check if tran is null before
trying to get the error handler.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to