Disclaimer: I don't know if this works since it's originally a fix for when OneDrive throws this error, but it won't do any harm at least.
(If Mendix is installed on another drive than C: then run checkdisk on that other drive).
Please let me know if it works – if it doesn't I won't be recommending this to people anymore :-)