Config used inside Constraint block gets an error

In reply to shahkavish77:

The constraint solver is governed by a call to randomize(), which is not tied to any phase. And a null reference can only be checked at run time.

You need to make sure you retrieve a handle to your config object before the call to randomize().