Value cannot be null. Parameter name: pattern

Dec 21, 2015 at 12:37 AM
Edited Dec 21, 2015 at 12:39 AM
Hi,

We're getting below errors when creating incident via workflow.
How can we fix this error?
We use CRM 2013 SP1 UR1.

Plugin Trace:

[Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.CreateEntity]
[CreateStep67]
[Xbitz.Crm.AdvancedCRMAutoNumber: Xbitz.Crm.AdvancedCRMAutoNumber.GenerateAutoNumber]
[14eb4ee7-c99d-e111-b463-1cc1de6e2b2d: Xbitz.Crm.AdvancedCRMAutoNumber.GenerateAutoNumber: Create of incident]
GenerateAutoNumber. Check to see if there are any auto number settings for the entity incident.
GenerateAutoNumber. Creating the Organization Service.
GenerateAutoNumber. Getting the Auto Number Settings for entity incident.
GenerateAutoNumber. Found 1 Auto Number Setting(s) for entity incident.
GenerateAutoNumber. Locking the AutoNumberSetting 91ca9ce8-6bd0-e311-9415-005056b30d61.
GenerateAutoNumber. Generated new dummy field value cae9265e-7895-4bdf-bf66-d87fab82f4b9.
GenerateAutoNumber. Updating the auto number settings 91ca9ce8-6bd0-e311-9415-005056b30d61 with dummy value cae9265e-7895-4bdf-bf66-d87fab82f4b9.
GenerateAutoNumber. Updated the auto number settings 91ca9ce8-6bd0-e311-9415-005056b30d61 with dummy value cae9265e-7895-4bdf-bf66-d87fab82f4b9.
GenerateAutoNumber. AutoNumberSetting 91ca9ce8-6bd0-e311-9415-005056b30d61 is now locked.
GenerateAutoNumber. Retrieving the auto number settings 91ca9ce8-6bd0-e311-9415-005056b30d61 after locking the row.
GenerateAutoNumber. Incremented the Next Number to 5016823.
GenerateAutoNumber. Formatting the autonumber.


Error Message:

Unhandled Exception: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: Value cannot be null.
Parameter name: pattern