It means you're trying to manipulate an object represented by a variable with a 
null value.

For instance,

var mc:MovieClip;
mc.x = 9;

will generate that error as you've just defined that mc will be a movieclip and 
its initial value is null.

var mc:MovieClip = new MovieClip();
mc.x = 9;

Will not generate the error, nor will

var mc:MovieClip;

if (mc) { // check to see if mc is null before accessing it
        mc.x = 9;
}

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of W.R. de Boer
Sent: Tuesday, February 02, 2010 6:41 AM
To: Flash Coders List
Subject: [Flashcoders] Keep getting "Error #1009: Cannot access a property or 
method of a null object reference. at ProfilerAgent/allCompleteHandler()"

Hello,

I am currently trying to use the Flex Builder 3 Profiler only I am having 
trouble with profiling this SWF I am having. The issue is that half the time I 
am getting the following error:

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
       at 
ProfilerAgent/allCompleteHandler()[C:\SVN\branches\3.2.0\modules\profiler3\as\ProfilerAgent.as:293]

Does anyone know how to get rid of this problem or this error basically mean? 
An issue on my side which is causing this?

Thanks,
Weyert de Boer
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to