above is the code, where sales order is sent from the order completed event listener, and below is the stack trace.
Running number could not be set for order system id 793a3116-725e-4f29-9c9f-9e032a4bc949 - at System.RuntimeType.MakeGenericType(Type instantiation)
at Litium.ComponentModel.ReadOnlyExtensions.TryMakeWritableClone(Object value, Type type)
at Litium.ComponentModel.ReadOnlyExtensions.TryMakeWritableClone(Object value, Type type)
at Litium.ComponentModel.ReadOnlyExtensions.MakePropertiesChangable(IReadOnly entity)
at Litium.ComponentModel.ObjectBase.Litium.ComponentModel.IReadOnly.MakeWritableClone()
at Litium.Sales.SalesOrder.MakeWritableClone()
The type you store inside the AdditionalInfo property is not fulfilling the requirements for the data that should be stored, see AdditionalInfo entity (litium.com)
The dictionary is not a simple object so the following requirement is not fulfilled
Object: must implement Litium.ComponentModel.IReadonly