Sorry I say ConsoleListener, it is TraceListener
does your project contain any monkey patched files... for example your own copy of uicomponent
Yes in a swc library I notice there is an fl.core.UICommponent.
I have a lot of uiCommponents copies...
What can I do?
1 person found this helpful
So there are two things here.
First, something in one of your UIComponent copies may actually have an issue.. as having a copy alone shouldnt have broken anything.Since something is broken, it means there is some type of incompatibility. So, it might be work spending some time understanding what is happening here. I am mainly concerned about mx.core.UIComponent the flash package is less concerning for now.
So, first thing I would try is to build the UIListener yourself instead of using the prebuilt version. If you are interested, you can get the source here: https://github.com/flexunit/flexunit
The project only depending on FlexUnit itself, so you don't need to build all of the code. The reason I sugges this is that it could simply be an issue between the version of the compiler and various other dependencies or it could be more. If you build it yourself and it works, it just means there is an incompatibility between the libraries you have and the ones FlexUnit was built with.
If you still have issues, then you really should try to find out what component copy is broken as you will likely have issues elseswhere (btw, looking at your symptoms, I am guesing you have a copy of a UIComponent somehwere which has changed the commitProperties or validateProperties method). However, if looking through all of that code is not possible, we could switch you to an ActionScript only listener. It is not great as it is still in development, but since it does not have UIComponent dependencies, it should work around your problems.
Ok Mike, I will try what you tell me.
And I tell you what happens.
Thank you and regards.