I’ve just migrated from an old MacBook Pro to a new one using Apple’s Migration Assistant. I then thought it’d be a great idea to perform some manual cleanup and accidentally deleted a keychain (in KeyChain Access) which was used by an AIR app I am currently developing.

After doing this I started getting the following error when running my app, as soon as it accessed EncryptedLocalStore:

Error: general internal error<br></br> at flash.data::EncryptedLocalStore$/processErrorCode()<br></br> at flash.data::EncryptedLocalStore$/getItem()

To prevent this error you just need to delete the relevant folders in:

~/Library/Application Support/Adobe/AIR/ELS/

Where ~ represents your user folder. I’m not sure what the relevant folder is on Windows, probably something similar involving the user’s Application Data folder, but if someone knows for sure please feel free to paste in the comments.