Fu-Tung Cheng skrev den 23-07-2008 21:12:
This happens on hotdeploy only. Tomcat 6.0.16, jdk 1.6.0. The logging call
is just in a normal method that looks like:
The stack trace you provided does not correspond to the source of 1.2.15.
Could you please produce a stack trace when using log4j 1.2.15?
My suspicion is that it happens in this snippet, when the s.peek() call
returns null.
String get() {
Stack s = getCurrentStack();
if(s != null && !s.isEmpty())
return ((DiagnosticContext) s.peek()).fullMessage;
else
return null;
}
--
Thorbjørn
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]