DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40212>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40212 ------- Additional Comments From [EMAIL PROTECTED] 2007-08-18 09:23 ------- I am getting a NullPointerException in LogManager line 188 because LogManager.repositorySelector is null. The user of LogManager in this case is the JCS ShrinkerThread class. I only get this exception after Tomcat reloads the context. My theory is that the static block at the top of LogManager is not executing for some reason, or is failing. Eclipse apparently can't debug static blocks, so it's hard for me to see exactly what's happening. Here is a stack trace: Exception in thread "Thread-2" java.lang.NullPointerException at org.apache.log4j.LogManager.getLogger(LogManager.java:188) at org.apache.log4j.Logger.getLogger(Logger.java:104) at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229) at org.apache.commons.logging.impl.Log4JLogger.isDebugEnabled(Log4JLogger.java:239) at org.apache.jcs.engine.memory.shrinking.ShrinkerThread.shrink(ShrinkerThread.java:120) at org.apache.jcs.engine.memory.shrinking.ShrinkerThread.run(ShrinkerThread.java:96) at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(Unknown Source) at java.lang.Thread.run(Thread.java:595) -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
