Tuesday, October 12, 2010

Flex: The ABC data is corrupt - Solution

About a half hour ago, I was happily coding along on my Flex Adobe AIR application and all of a sudden when I tried to run the application (which compiled without error) I got this error when the application was initializing.

VerifyError: Error #1107: The ABC data is corrupt, attempt to read out of bounds.

My first thought was "What the hell is ABC data?". I still have no idea what that means but I did figure out what the problem was. After doing a bunch of searching I finally went back through every change I had made in my code since the last time it ran successfully.

What I found was that I had added two optional arguments to a method with the same name. I'm not sure exactly how that mistake caused that error message but in case you run into this error take a look at your method arguments. Given the genericness off the error message, I suspect that there are probably a lot of other different ways to cause that error message but this fixed it for me.


1 comment:

Unknown said...

I think ABC stands for ActionScript Byte Code/