the error occurs when?
It appears upon opening up Animate. I am on windows 7, on my windows 10 computer, the error doesn't occur.
restart your win 7 computer and reopen animate.
if that fails with the same error, reset your preferences by removing
C:\Users\<username>\AppData\Local\Adobe\Animate CC 2017\ and