It's hard to tell what's the problem but...
1. Try to remove preferences/set it to default: Reset After Effects Preferences
... if that doesn't help ...
2. Try to uninstal Adobe After Effects then use Creative Cloud Removal Tool Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 and then (after system restart) instal AE one more time.