Delphi / Object Pascal · Exception
What does Runtime Error 210: Object not initialized mean in Delphi / Object Pascal?
An object was used before its constructor ran, or a virtual method was called during construction before the part of the object that implements it was ready.
An object was used before its constructor ran, or a virtual method was called during construction before the part of the object that implements it was ready.
Check for a call to a virtual method from inside a constructor, which can dispatch to a descendant class's override before that descendant's own fields are initialized.