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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]