Error: "str cannot be null" and "Item import failed" when Importing Copy File type tasks into the Console
search cancel

Error: "str cannot be null" and "Item import failed" when Importing Copy File type tasks into the Console

book

Article ID: 450104

calendar_today

Updated On:

Products

Client Management Suite IT Management Suite

Issue/Introduction

When trying to Export and Import tasks to another SMP, Copy File tasks will error out.  This also includes in Hierarchy environment.

When importing the file, and Import Item failure is seen: Error importing item.  Please check event log for details.

Checking the SMP Logs these 2 errors are seen:

Item save to DB failed: ebd083ef-66a1-4de7-a163-13bac085827d, (fromClone=False, user=EPM\smpservice)
str cannot be null
   [NullReferenceException @ Altiris.TaskManagement.dll]
Item import failed
Item Import exception : ebd083ef-66a1-4de7-a163-13bac085827d = Altiris.Deployment.CopyFileTask (288ee2f1-ce82-42d7-8169-0b0d3a36962f)
   [AeXItemImportException @ Altiris.NS.dll]
   at Altiris.NS.ItemManagement.Item.ImportItem(XmlNode, bool, out ImportResult)
   at Altiris.NS.UI.Admin.ItemImporters.ItemImporter.ImportData(XmlNode, Action<ImportMsgCode,StatusType,Exception>)
   at Altiris.NS.UI.Admin.ItemImporters.XmlImporter.DoImport(XmlDocument, ImportFlags, Action<ImportMsgCode,StatusType,Exception>)
Item save failed: 'Copy File' (ebd083ef-66a1-4de7-a163-13bac085827d)
   [AeXException @ Altiris.NS.dll]

Environment

ITMS 8.8.1, and possibly previous versions.

Resolution

A Pointfix for this issue has been made available for 8.8.1 in DS_8_8_1_PF_v3_04Aug2026.zip.  See CUMULATIVE POST ITMS 8.8.1 POINT FIXES for this file.