Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/23/11 11:26:27 (13 years ago)
Author:
ascheibe
Message:

#1233

  • don't set job failed if JobNotFoundException is thrown
  • disable AboutView for all items
  • avoid NullRefException in SendFinishedJob
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/SlaveJob.cs

    r6216 r6248  
    165165        try {
    166166          JobData sJob = executor.GetFinishedJob();
    167           clientCom.LogMessage(string.Format("Sending the finished job with id: {0}", JobId));
    168           wcfService.UpdateJobData(job, sJob, ConfigManager.Instance.GetClientInfo().Id, JobState.Finished);
     167          if (sJob != null) {
     168            clientCom.LogMessage(string.Format("Sending the finished job with id: {0}", JobId));
     169            wcfService.UpdateJobData(job, sJob, ConfigManager.Instance.GetClientInfo().Id, JobState.Finished);
     170          }
    169171        }
    170172        catch (Exception e) {
     
    210212      if (pluginsPrepared) {
    211213        try {
    212           appDomain = HeuristicLab.PluginInfrastructure.Sandboxing.SandboxManager.CreateAndInitSandbox(job.Id.ToString(), pluginDir, Path.Combine(pluginDir, configFileName));
     214          appDomain = HeuristicLab.PluginInfrastructure.Sandboxing.SandboxManager.CreateAndInitPrivilegedSandbox(job.Id.ToString(), pluginDir, Path.Combine(pluginDir, configFileName));
    213215          appDomain.UnhandledException += new UnhandledExceptionEventHandler(AppDomain_UnhandledException);
    214216
Note: See TracChangeset for help on using the changeset viewer.