Tracing Correlation ID to root cause (Kinetic Cloud)

We have a pre and post directive on SalesOrder.MasterUpdate


I’m guessing the issue is in the post based on the behavior of the error.
This directive is calculating the total weight of all lines on the order.