TypeError: Error #1009
22 February 2008 at 7:21 pm
Chances are that you’ve seen this error message before. This is my number one wish for ALL the Adobe compilers - better error messages! I’ve always wondered why Flash / Flex can’t throw proper error messages and this is a brilliant example. In this case, Flash obviously knows exactly what is wrong so why not just just tell it? How about something like this:
TypeError: Error #1009: Cannot access the property <em><strong>"someprop" since it is</strong></em> a null object reference.
at no.netron.tusenfryd::Map/onLoadSingle()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
If I just knew the name of the object, I didn’t have to search all over for it…