Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: facade.retrieveProxy(CalendarEventProxy.NAME) returns NULL ... but why?  (Read 7873 times)
zzal
Newbie
*
Posts: 7


View Profile Email
« 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.
« Last Edit: June 27, 2008, 02:05:34 by zzal » Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 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>
Logged
houen
Newbie
*
Posts: 5



View Profile WWW Email
« Reply #2 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
Logged

My sites:
Flash Game site: www.999credits.com
Blog: www.houen.net/blog
Pages: [1]
Print