You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2008/07/03 22:09:06 UTC
DO NOT REPLY [Bug 37182] Exception from exception toString() causes
log4j to fail
https://issues.apache.org/bugzilla/show_bug.cgi?id=37182
Thorbjørn Ravn Andersen <th...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thorbjoern@gmail.com
--- Comment #4 from Thorbjørn Ravn Andersen <th...@gmail.com> 2008-07-03 13:09:05 PST ---
This is an issue with those classes which implement ObjectRenderer. The
DefaultRenderer (which is called here) just do a
return o.toString();
and it would be reasonable to return some dummy value if o was null. Just
return "null" or null perhaps?
AttributesRenderer and ThreadGroupRenderer do an instanceof, UTObjectRenderer
just returns a parmeters, so this should be the only location which need
patching.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org