… better late than never …
Today I’ve encountered the same error. In my case reseting preferences solved the problem. Close After Effects, than re-open it. As soon as you click AE icon, hit CTRL+ALT+SHIFT all together (Mac: Command+Option+Shift). Preferences will reset (in my case I recieved pop-up window). Works in any Adobe program.
Kind regards,
Jernej