Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1762


Ignore:
Timestamp:
05/08/09 13:30:01 (16 years ago)
Author:
msteinbi
Message:

fixed null pointer exception in abort (#531)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/3.2/JobManager.cs

    r1627 r1762  
    290290
    291291        Job job = jobAdapter.GetById(jobId);
     292        if (job == null) {
     293          response.Success = false;
     294          response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOB_DOESNT_EXIST;
     295          return response; // no commit needed
     296        }
    292297        if (job.State == State.abort) {
    293298          response.Success = true;
Note: See TracChangeset for help on using the changeset viewer.