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 46404] NPE when logging an AxisFault with SocketAppender
Date Wed, 25 Feb 2009 15:39:54 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46404





--- Comment #3 from Hanno Neuer <hanno.neuer@telekom.at>  2009-02-25 07:39:54 PST ---
After further investigations I was able to track down the problem. The
AxisFault class itself tries to make logging statements when its
'printStackTrace' method is called.
I changed the ThrowableInformation class to create the string representation of
the Throwable in the constructor, so when the information is needed while
logging is done no further call to 'printStackTrace' is neccessary which solves
the above problem.

Please review the changes, the new version of the class is in the attachment.


Regards,
Hanno

-- 
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


Mime
View raw message