ThreadPoolTaskExecutor Run 执行报空指针
文艺骚年丶 2016-06-07 10:55:38 String tableName;
String areaCode;
QuartzController quartzController =new QuartzController();
public RunRuleInJVMDaemen(String tableName,String areaCode){
this.tableName = tableName;
this.areaCode = areaCode;
}
public synchronized void run() {
Map params = new HashMap<String,Object>();
params.put("tableName", tableName);
params.put("areaCode", areaCode);
quartzController.getTableBaseInfoS(params);
}
运行getTableBaseInfoS(); 方法 就报空指针
Exception in thread "ruleExecuterPool-1" java.lang.NullPointerException
求大神告知 怎么解决