You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/07/02 18:23:11 UTC
DO NOT REPLY [Bug 21283] New: -
check for null inputstream before parsing xml in ParseUtils.parseXmlDocument
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: tomcat-dev@jakarta.apache.org
ReportedBy: emeade@geekfarm.org
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org