我使用线程池执行程序时线程中的异常

时间:2014-07-23 13:13:56

标签: java exception

我收到以下类型的错误,我想知道为什么会出现这种类型的错误:

Exception in thread "pool-1-thread-24077" java.lang.NullPointerException
        at etc.popserver.Pop3Handler.run(Pop3Handler.java:332)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)

0 个答案:

没有答案