I obtain this error in my Flex AIR application:
TypeError: Error #1034: Type Coercion failed: cannot convert org.httpclient.events::HttpErrorEvent@daf35f1 to flash.events.IOErrorEvent.
at org.httpclient.events::HttpListener/onInternalError()[/Users/gabe/Projects/as3httpclient/src/org/httpclient/events/HttpListener.as:96]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at org.httpclient::HttpSocket/onTimeout()[/Users/gabe/Projects/as3httpclient/src/org/httpclient/HttpSocket.as:299]
at org.httpclient::HttpTimer/onTimer()[/Users/gabe/Projects/as3httpclient/src/org/httpclient/HttpTimer.as:50]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
I use the as3httpclient library with a success but after I implemented a code that catches all error events from my application I noticed that this strange error was caught.
There are no references to my own code at all in this stack trace so I can't find the place the error is.
Do you think that this error is a bug in this as3httpclient library?
How can I use this
HttpErrorEvent@daf35f1
while debugging this error?
One more information: this error appears only once after 1 minute after starting my application.