Symptoms
In K2 blackpearl 4.6.9, intermittently, Email Event will cause process deployment to error with:
Value cannot be null.
Parameter name: field
at SourceCode.Workflow.Design.ArtifactLibraryFieldPart..ctor (Environemnt field)
at SourceCode.Workflow.Design.Mail.MailEventItem.PrepareConfigurationForBuild()
at SourceCode.Workflow.Authoring.Design.Serialization.ExecutableItemCodeGenerator.ExtenderCodeGenerator.Generate
A restart of the K2 Blackpearl service will temporarily fix this issue and allow deployment.
Diagnoses
This was recognized as a bug against K2 blackpearl 4.6.9.
Resolution
A coldfix was provided to remedy this issue. To request this fix, please log a K2 support ticket.