cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10311] New: - Notifier generates a NullpointerException if the StreamGenerator throws a SAXParseException
Date Fri, 28 Jun 2002 05:39:03 GMT
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=10311>.
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=10311

Notifier generates a NullpointerException if the StreamGenerator throws a SAXParseException

           Summary: Notifier generates a NullpointerException if the
                    StreamGenerator throws a SAXParseException
           Product: Cocoon 2
           Version: 2.0.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: pik@uniquare.com


Notifier generates a NullpointerException if the StreamGenerator throws a 
SAXParseException (location in extra descriptions not set).

The method Notifier.notify throws a NullpointerException if a value in 
extraDescriptions is null.

The following solves the problem:

+ if (extraDescriptions.get(key) != null)
+ {
        ch.characters(extraDescriptions.get(key).toString().toCharArray(), 0,
                (extraDescriptions.get(key).toString()).length());
+ }

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message