@Pravin,

I really appreciate your attempts to help. Unfortunately, I've already tried
these things.

I've commented out the entire body of the function within the "if"
statement. I've run it within the debugger.

With or without the interior code, the debugger stops on the null test and
reports that the error occurred on that line. Inspecting the variables
within the file, I can see that when the debugger hits the error, the value
of the object is null.

I'm not sure there are any more ways to actually test this particular piece
of code. I'm just hoping that someone else may have experienced a similar
situation and have some thoughts, or that someone from Adobe will step in
and explain how a null test can throw a null object reference error.

@Wesley,

Thanks for the thoughts. I understand your point, as well as Pravin's.
However, I've compiled and recompiled, cleaned and recleaned. Flex Builder
shows no problems.

I have cleared the browser's cache before every new compile.

Yes, Pravin is correct in that no error should occur on that line. That's
the point of the post, but I understand that you and Pravin are trying to
help by suggesting things I may have missed. I appreciate that;
unfortunately, as you can tell, I've already gone through all the
commenting/compiling/cache-clearing/debugging steps everyone has mentioned.



-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560

Reply via email to