Hi,
there is BUG with generated StateIndicator. Maybe is problem too long name. Entity name is not generated properly and only few first character is used so it make problem in future code generation.
Error occurs only when is StateIndicator used in page.
Workaround exists:
Create new StateIndicator
or
Override StateIndicator and use proper Entity: