#vulnerable code 
                             @Override
	public void execute(JobExecutionContext context)
			throws JobExecutionException {
		try {
			System.out.println("执行命令中。。。");
			String id = context.getJobDetail().getName();
			TestJobs job = null;
			for (int i = 0; i < QueueListener.list.size(); i++) {
				job = new TestJobs();
				job = QueueListener.list.get(i);
				if (id.equals("" + job.getId())) {
					break;
				}
			}
			toRunTask(job.getPlanproj(), job.getId(),job.getTaskName(),job.getClientip());
			System.out.println("调用程序结束。。。");

		} catch (Exception e) {
			e.printStackTrace();
		}
	} 
                            #location 15 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Override
	public void execute(JobExecutionContext context)
			throws JobExecutionException {
		try {
			System.out.println("执行命令中。。。");
			String id = context.getJobDetail().getName();
			TestJobs job = testJobsService.load(Integer.valueOf(id));
			toRunTask(job.getPlanproj(), job.getId(),job.getTaskName(),job.getClientip());
			System.out.println("调用程序结束。。。");

		} catch (Exception e) {
			e.printStackTrace();
		}
	}