I am having the same issue - with both 4.2 and 4.1 - I removed the OctoPrint Plugin, then deleted everything in the \AppData\Local\cura\4.2\cache or \AppData\Local\cura\4.1\cache directories.
So, looks like it is an issue with that plugin and 4.x, IMHO.
cliff