As long as the input is valid, please file a bug with a simple test case.
I've got the same error when too long string is used in DropDownList label.
(using Flex SDK 4.0.0 build 14159, Flash Player ver WIN 10,0,45,2 instaled)
I used ComboBox instead and waiting for adobe to fix...
It was really hard find, but in my case it was localization issue:
I found this in reference: "Using Flex 4, Creating resource bundles at run time":
"If you programmatically create your own bundles for a new locale but do not create any framework bundles for that locale prior to compiling the application, you will get run-time exceptions when the framework components try to access framework bundles for the new locale. For example, suppose you programmatically create bundles for the fr_FR locale but do not compile with the fr_FR framework bundles. If you then set the localeChain property to ["fr_FR"], you will get run-time exceptions when the framework components try to access framework resources for the fr_FR locale. As a result, if you plan on creating bundles for the fr_FR locale at run time, you should compile the application with the fr_FR framework bundles. You can then set the localeChain property to ["fr_FR"]
without getting run-time errors."
So, once again:
I had the same error connected with DropDownList component (any other: Buttons, ComboBox, Panels etc. was working fine, only when I added DropDownList got this error).
Now its working, after fix localization in my app.
Message was edited by: Tomasz Stocki
I had exactly the same error trying to build potomac application. The solution was the locale resource bundles were not being build into the application.
This error occurred for me when the resource for the truncated label is not added as a library, ie the "...".