I've seen this before when an error occurs in a "set" method being
invoked during AMF deserialization.  In FB, you should be able to stop
in those methods and/or add your own trace statements to find the
problem.   This all happens before the FDS code is executed which is why
TraceTarget is showing anything.  

 

Jeff

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of simonjpalmer
Sent: Monday, December 10, 2007 11:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RemoteObject silently throwing #1009 null object
error

 

Hi,

FB2 + FDS.

I have a RemoteObject silently throwing the following error when I
call a remote method:

TypeError: Error #1009: Cannot access a property or method of a null
object reference.

Does anyone know of a way I can track down what exactly is causing the
error to be thrown? I have been using TraceTarget in my app to try
and see what is going on but no message ever gets created (I guess
this error is thrown while the message is being created). Ideally I
want to be able to step through the framework code in the debugger so
I can examine my value object graph at the point the error gets thrown.

It is clearly data related because some objects succeed via the same
method and others do not. There is nothing obvious in my data or code
that would cause a null to occur and I have spent days looking for
possible culprits and found and fixed quite a few with no effect.

What I really need is to be able to see what the framework is
objecting to.

Anyone else come across this? Anyone have any suggestions?

tia
Simon

 

Reply via email to