this is interesting, can you supply a simple test case, cause somewhere
the variable "log" must be set to null
Filip
Leon Rosenberg wrote:
ok, I changed the code a bit:
if (log==null)
System.out.println("LOG IS NULL!!!");
if (/*log!=null && */log.isDebugEnabled())<-- line 231
log.debug("Timer execution lasted: "+duration);
console output:
LOG IS NULL!!!
Exception in thread "Thread-1" java.lang.NullPointerException
at
xxx...generic.services.timer.TimerServiceImpl.run(TimerServiceImpl.java:231)
at java.lang.Thread.run(Thread.java:595)
regards
Leon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]