Error generating mask

A mask has been generated, the file is saved in xml format, when I open the file I get this error, how can I solve it?

just to go sure: You can open masks only via the Mask Manager, not with File > Open