Unhandled error. The node '<GUID>' is not part of this job
search cancel

Unhandled error. The node '<GUID>' is not part of this job

book

Article ID: 277016

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

After cloning a Task and using the "Shallow clone" option,

when you try to reload the original task, the following error occurs:

"A critical error has occurred on this page. Check the Altiris logs for more information"

The NS logs show an error message like this one:

Unhandled error

The node '6a7d7faf-82cc-48a2-893a-8878c4eab957' is not part of this job
   [Exception @ Altiris.TaskManagement.dll]
   at Altiris.TaskManagement.Jobs.Conditions.PreviousReturnConditionNodeHelper.GetDescription(JobConditionDescriptionType, BaseJobRoot, TaskVersionGuid, JobNodeGuid)
   at Altiris.TaskManagement.ClientTask.Jobs.Conditions.ClientTaskConditionNode.GetDescription(JobConditionDescriptionType, BaseJobRoot)
   at Altiris.TaskManagement.Jobs.Conditions.ServerIfThenElseJobNode.AddDisplayNodes(JobDisplayNode)
   at Altiris.TaskManagement.Common.Jobs.BaseJobNodeGroup.AddDisplayNodes(JobDisplayNode)
   at Altiris.TaskManagement.Jobs.ServerJobRoot.AddDisplayNodes(JobDisplayNode)
   at Altiris.TaskManagement.UI.Controls.JobTreeControl.UpdateJobDisplay()
   at Altiris.TaskManagement.UI.Controls.JobTreeControl.OnPreRender(EventArgs)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(bool, bool)

Exception logged from:
   at Altiris.Diagnostics.Logging.EventLog.ReportException(int, string, string, Exception, string)
   at Altiris.TaskManagement.UI.AltirisPageInstanceCachePage.OnAltirisPageInstanceCachePageError(object, EventArgs)
   at System.Web.UI.TemplateControl.OnError(EventArgs)
   at System.Web.UI.Page.HandleError(Exception)
   at System.Web.UI.Page.ProcessRequestMain(bool, bool)
   at System.Web.UI.Page.ProcessRequest(bool, bool)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext)
   at Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(HttpContext)
   at Altiris.NS.UI.AltirisPage.ProcessRequest(HttpContext)
   at System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep, ref bool)
   at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception)
   at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext, AsyncCallback)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest, HttpContext)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, int)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, int)
   at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr, ref RequestNotificationStatus)
   at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr, ref RequestNotificationStatus)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, int)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, int)

HTTP [GET]: https://smpserver.example.local/Altiris/TaskManagement/ManageTask.aspx?ItemGuid=982be154-972f-489d-ab95-2d2265796eed&PageInstance=78d41381-b371-4326-a66c-ae3074cde2df
 ip: [172.16.158.139]; languages: [en-US,en;q=0.9];
 timings: [[R] 00:00:00.0542095(W: -00:00:00.0019486)];
 response: [200 OK]; x-smp-nsversion: [8.7.2337.0];
-----------------------------------------------------------------------------------------------------
Date: 12/12/2023 12:52:43 PM, Tick Count: 777078 (00:12:57.0780000), Size: 3.93 KB
Process: w3wp (7852), Thread ID: 41, Module: Altiris.TaskManagement.dll
Priority: 1, Source: PreviousReturnConditionNodeHelper.GetDescription

Environment

ITMS 8.x

Cause

Task corruption.

Resolution

The safest way is to delete and recreate the desired task.

If for some reason you need to keep the original one, you can the following to manually fix the bad reference:

  1. In this example, we will use '6a7d7faf-82cc-48a2-893a-8878c4eab957' as the bad reference mentioned in the log entry.
  2. Export the corrupted Task (select the task > right-click > Export)
  3. Open the exported XML
  4. Search for the GUID mentioned in the NS logs as the bad Node:
    The node '6a7d7faf-82cc-48a2-893a-8878c4eab957' is not part of this job

    You should see something like this:



    which most likely is the lastest version number.

  5. As you can see in the example above, "version number 4" is the one containing the mentioned GUID reference. Go ahead and delete the whole section (between <version> and </version>:

    <version guid="ad334c6a-a352-4b5e-894f-1fc59764a3a3" number="4">
          <modifiedBy>mars-ad\caillced.ext</modifiedBy>
          <modifiedDate>638375409362930000</modifiedDate>
          <name>_1</name>
          <description />
          <state><vItem><baseClientTask /><remoteExecAdvanced><priority value="Normal" compatibility="Exclusive" /><preventComputerFromSleeping value="False" /><kill enforce="True" maxMinutes="60" /><interruptable value="DEFAULT" /><platform configuredProviderGuid="00000000-0000-0000-0000-000000000000" /><hideTask value="False" /></remoteExecAdvanced><compareValue><parameter condition="Where" outputProperty="6a7d7faf-82cc-48a2-893a-8878c4eab957.ScriptOutput" operator="Contains" value="True" /></compareValue></vItem></state>
        </version>

    The XML should look like this after deleting that section:



  6. Save the changes.
  7. Delete the corrupted Task and import the modified one (select the folder where the original Task was displayed > right-click > Import)
  8. Try now to load the Task. The mentioned error should not be present anymore.