diff --git a/src/org/jdcp/server/JobServer.java b/src/org/jdcp/server/JobServer.java
index <HASH>..<HASH> 100644
--- a/src/org/jdcp/server/JobServer.java
+++ b/src/org/jdcp/server/JobServer.java
@@ -179,7 +179,9 @@ public final class JobServer implements JobService {
 	public void submitTaskResults(final UUID jobId, final int taskId,
 			final Serialized<Object> results) throws SecurityException {
 		ScheduledJob sched = jobs.get(jobId);
-		sched.submitTaskResults(taskId, results);
+		if (sched != null) {
+			sched.submitTaskResults(taskId, results);
+		}
 	}
 
 	/* (non-Javadoc)
JobServer.submitTaskResults should check if the job is present before trying to call ScheduledJob.submitTaskResults.