Is this the exact text of the error message you receive? Can you provide a bit more information (exact version number of AE from the About screen, OS, etc.)? Also, what kind of shapes? How are you trying to align them?
Circling back with you to see if you still needed assistance. Or did you solve your issue? Please let us know.