I have gotten a error like this several times recently. The only thing that seemed to help was rebooting and restarting AE. That didn’t ALWAYS fix the problem, but somehow, after a few trys, it would just work. It is very frustrating though. If your document uses any Illustrator files, try collapsing or uncollapsing those layers. I think that helped on one of my projects.