Mantis - Resin
Viewing Issue Advanced Details
4668 minor always 07-12-11 09:55 07-22-11 15:59
ferg  
ferg  
normal  
closed 4.0.18  
fixed  
none    
none 4.0.21  
0004668: ScheduledTask
(rep by Wesley Wu)

I found resin sometimes can't start ScheduledThreadPool, resulting in

@Inject
ExecutorService executorService

not work (executorService is null).

can't precisely reproduce it coz it happened randomly when server restarts.

affected resin version:
Resin 4.0.s100809
Resin 4.0.18

[11-07-07 15:02:07.675] {resin-9} java.lang.NullPointerException
                                   at com.caucho.server.util.ScheduledThreadPool$TaskFuture.run(ScheduledThreadPool.java:591)
                                   at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164)
                                   at com.caucho.env.thread.ResinThread.run(ResinThread.java:130)
[11-07-07 15:02:07.675] {resin-9} java.lang.NullPointerException
                                   at com.caucho.server.util.ScheduledThreadPool$TaskFuture.run(ScheduledThreadPool.java:591)
                                   at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164)
                                   at com.caucho.env.thread.ResinThread.run(ResinThread.java:130)
[11-07-07 15:02:07.676] {resin-9} java.lang.NullPointerException
                                   at com.caucho.server.util.ScheduledThreadPool$TaskFuture.run(ScheduledThreadPool.java:591)
                                   at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164)
                                   at com.caucho.env.thread.ResinThread.run(ResinThread.java:130)
[11-07-07 15:02:07.676] {resin-9} java.lang.NullPointerException
                                   at com.caucho.server.util.ScheduledThreadPool$TaskFuture.run(ScheduledThreadPool.java:591)
                                   at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164)
                                   at com.caucho.env.thread.ResinThread.run(ResinThread.java:130)



There are no notes attached to this issue.