ITMS 7.5 - InvalidCastException exception is logged on attempt to open Job and Task Status page
Last Updated March 17, 2014
Exception is logged in SMP log on Job and Task Status page in the Console after clicking on 'Show preview' button on the right page. Several instances that don't have icons will not be shown in hte preview.
Error processing data row
System.InvalidCastException (Altiris.TaskManagement): Unable to cast object of type 'Altiris.Connector.DataSource.CompileDataPreProcessingFunctionTask' to type 'Altiris.NS.ItemManagement.IItemPresentation'.
Tasks framework assumes that all the items in the Console have their presentations methods available. At the same time some tasks may not have icons at all (for example Data Connector and Automation). This created an exeception on attempt to show such instances in the preview. Corresponding tasks will not be shown in the preview as a result. No other functional impact will be observed.
Solution at the moment is to ingore the exception keeping in mind that problematic tasks will not be shown in the preview. Corresponding bug report has been logged so development is aware of the issue.
ITMS 7.2 SP2
Imported Document ID: TECH215860
Subscribing will provide email updates when this Article is updated. Login is required to Subscribe