c3p0中出错,愁死了。

Exception in thread "Timer-2" java.lang.NullPointerException
at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:252)
at com.mchange.v2.resourcepool.BasicResourcePool$CheckIdleResourcesTask.run(BasicResourcePool.java:1340)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
我用的是hibernate,之后还出现3,4,程序在服务器上运行一段时间就会出这问题,哪为高手能帮忙解决下啊。

你可能感兴趣的:(java,thread,Hibernate,log4j)