logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37182] Exception from exception toString() causes log4j to fail
Date Thu, 03 Jul 2008 20:09:06 GMT

Thorbjørn Ravn Andersen <thorbjoern@gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |thorbjoern@gmail.com

--- Comment #4 from Thorbjørn Ravn Andersen <thorbjoern@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

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

View raw message