Corel Xy Photo Paint crashes when I save or Export a Jpg file

Hi everyone.   Several years ago I had the same problem with Corel X7 Photo Paint crashing when I Exported or saved a JPG file.   It works OK on JP2 and other extensions but not on JPG.

I can't remember how I resolved it and it appears it is still a problem for others as well.