在做银行调度系统的时候出现这个问题,各位帮忙看看问题处在哪里?
Exception in thread "pool-3-thread-1" Exception in thread "pool-1-thread-1" Exception in thread "pool-2-thread-1" Exception in thread "pool-5-thread-1" Exception in thread "pool-4-thread-1" Exception in thread "pool-7-thread-1" Exception in thread "pool-6-thread-1" java.lang.NullPointerException
at com.niechi.interview.bank.ServiceWindow$1.run(ServiceWindow.java:27)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.niechi.interview.bank.ServiceWindow$1.run(ServiceWindow.java:27)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.niechi.interview.bank.ServiceWindow.vipService(ServiceWindow.java:46)
at com.niechi.interview.bank.ServiceWindow$1.run(ServiceWindow.java:35)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.niechi.interview.bank.ServiceWindow$1.run(ServiceWindow.java:27)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.niechi.interview.bank.ServiceWindow$1.run(ServiceWindow.java:27)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.niechi.interview.bank.ServiceWindow.expressService(ServiceWindow.java:71)
at com.niechi.interview.bank.ServiceWindow$1.run(ServiceWindow.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.niechi.interview.bank.ServiceWindow$1.run(ServiceWindow.java:27)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
|
|