After working long time with no issue I got this same error! - so knowing i was playing around with plugins (serial/modbus...) for no good reason I just figured out I may need to recover my xml...