即時嘗試啓動一個Runnable類的運行方法,但我不斷得到一個NullPointerException,我使用WebSpheres commonj.workmanager來獲取executorService.this的實例是我正在使用的代碼。java.util.concurrent
executorService.execute(new Runnable()
{
public void run()
{
System.out.println("Inside run()method..");
}
});
任何想法?
此信息最好作爲對問題的編輯而不是另一個答案添加。 – 2008-11-18 18:35:38