luni, 11 aprilie 2016

[SOLVED] AS3 Adobe AIR app crashes when calling SharedObject flush() method

Recently run into a problem. I upgraded to the latest Adobe AIR SDK v21.0.0.176 and the app was crashing without any error. After some debugging, I found out that the error came from this line

SharedObject(localData).flush();


BEHAVIOUR : Adobe AIR app crashing when calling flush() on a SharedObject

Possible SOLUTIONS : 

  • One of the SharedObject().data properties are invalid. Check every property of SharedObject data to find it out. In my case was an empty array or possible filled with null elements. 

Hope I saved you some time on this. 

Niciun comentariu:

Trimiteți un comentariu