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=21283>.
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=21283

check for null inputstream before parsing xml in ParseUtils.parseXmlDocument

           Summary: check for null inputstream before parsing xml in
                    ParseUtils.parseXmlDocument
           Product: Tomcat 4
           Version: 4.1.24
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Jasper 2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If your inputstream came from a size 0 file, and is passed to the DocumentBuilder's 
parse method an IllegalArguementException is thrown by the DocumentBuilder.  Tracking 
down the source of this exception would be made easier if ParseUtils checked that the 
inputstream was not null or threw exception which included the filename if the 
inputstream was null.

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

Reply via email to