If you're using Logic Pro 7.1 in Mac OS X 10.4 or later and try to export a song as an AAF file, Logic Pro won't create the file. Instead, you'll get this message:
"AAF internal error 0xffffffff"
To resolve this issue, update to Logic Pro 7.1.1 or later, available at Apple Downloads.