I'm not sure what is going wrong here, and I've been trying everything I can think of. The bottom line, is I'm not sure why my flex calls using guice-blae are returning a null instance of the single defined service:
[BlazeDS]01/26/2009 16:03:28.511 Exception when invoking service 'remoting-service': flex.messaging.MessageException: Null instance returned from: JavaFactory instance for id=UIServicesDelegate source=com.nielsen.ondp.web.delegate.UIServicesDelegate scope=application Now the interesting thing is when the web app starts up, I see the factory called and I can see the constructor of my defined class called and the injected information in setters is called. It's just when the flex app first makes a call to use the service(UIServicesDelegate) it's coming back null. My relevant config info: http://pastie.org/371496 The relevant (small) java code: http://pastie.org/371486 If I remove the reliance on a factory, I can get flex remoting to return a non null instance of UIServicesDelegate so I think the communication is ok (but of course all my injected fields inside are null, so that's not good.) I'm not a Flex programmer by trade so I could be missing something really simple? -- Rick "Weaseling out of things is important to learn. It's what separates us from the animals... Except the weasel." Homer J. Simpson --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
