CadToSpinFireAction may throw an exception when called from the SDK via the following method calls:
PerformAction(Dictionary<string, object> options)
PerformCancellableAction(Dictionary<string, object> options, CancellationToken token)
Customers can use the workaround detailed below until the issue is addressed in a future Centro release:
PerformActionWithTimeout method with a job object created manually instead of directly calling any of the affected methods listed above.
ActionConfig actionConfig = new ActionConfig(); /*...*/ var job = new KitKat.Models.Job.Job(-1, "Pipeline/0", KitKat.Triggers.TriggerType.JobRequest); ConfigResolver resolver = new ConfigResolver(job, actionConfig); var action = new CadToSpinFireAction(actionConfig); var result = action.PerformActionWithTimeout(job, resolver);
"Pipeline/0", which can be anything with a forward slash in between, e.g.
Pipeline/something. The part after the slash is used to compose a temporary folder for conversion.