I'm randomly getting a runtime error when trying to access items in my . Here's what my code looks like:
stream = air.EncryptedLocalStore.getItem(key);
If I wrap this in a try/catch block I get an Exception which says:
An exception was thrown when trying to access local storageError: general internal error
Using Adobe AIR 1.5.3 on Mac OSX 10.6. Not sure whether this would have any impact on the error - but this error has only really manifested itself on Japanese machines. I can't seem to reproduce it on my en_US machine.
I've browsed the AIR forums for suggestions and I've heard that setting the -verbose-stacktraces=true flag in the adt compiler should help. I can't seem to set this though when I compile my application. I'm compiling it as follows:
system("~/dev/flex/bin -package -storetype pkcs12 -keystore ../$certsDir/$cert ../Eye-Fi\\ Center.air ~/build/tmp/Eye-Fi\\ Center.xml ~/build/tmp/Eye-Fi-Center.html ~/build/tmp/loading.html");
I've tried popping the -verbose-stacktraces flag into this command, but it complains any time that I do. Is there any way to get more information on why this EncryptedLocalStore error might be happening?