PureMVC Architects Lounge

Announcements and General Discussion => General Discussion => Topic started by: zzal on June 27, 2008, 02:02:54



Title: facade.retrieveProxy(CalendarEventProxy.NAME) returns NULL ... but why?
Post by: zzal on June 27, 2008, 02:02:54
Hi every one,

I just can't figure out why one of my nine proxies is NULL in my Model.proxyMap.
I was getting nothing when calling :
facade.retrieveProxy(CalendarEventProxy.NAME)

All my other proxies are registered OK but not this one (see the attach image).
And worst of all, my proxy IS instatiated, I know, I'm able to send and receive remote data from it, with no problem...

???

And I know my proxy is getting the onRegister() call, because it's in there that I instatiate my RemoteObject.

Any idea???



I would let anyone look into my code, but it's a licenced project... sorry.


Title: Re: facade.retrieveProxy(CalendarEventProxy.NAME) returns NULL ... but why?
Post by: puremvc on June 27, 2008, 04:43:25
Use the Flex debugger. Set a breakpoint on the line where the Proxy gets registered. Debug, inspect variables, step over, repeat.

-=Cliff>


Title: Re: facade.retrieveProxy(CalendarEventProxy.NAME) returns NULL ... but why?
Post by: houen on March 10, 2009, 04:12:49
I had this error just now, couldn't figure it out for the life of me.

Turned out i had overridden getProxyName/getMediatorName to return a bogus string - bummer! (Must have been really tired)
Then it won't work