There are no proxy providers registered yet.
werrenmi Oct 24, 2012 5:13 AMHello Together
We got this error when we execute a rpc call (no difference between Caller<RPCInterface> and MessageBuilder) in a @PostConstruct method for example. I have tried to debug and determine the problem and it seems to me, thats the rpc proxies are registred after the initial execution of the entrypoint. But i'm not really familiar with the exactly boostrap process.
I get exactly the following exception:
ERROR: Unable to load module entry point class org.jboss.errai.ioc.client.Container (see associated exception for details)
java.lang.RuntimeException: critical error in IOC container bootstrap
at org.jboss.errai.ioc.client.Container.bootstrapContainer(Container.java:69)
at org.jboss.errai.ioc.client.Container.onModuleLoad(Container.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: There are no proxy providers registered yet.
at org.jboss.errai.bus.client.framework.RemoteServiceProxyFactory.getRemoteProxy(RemoteServiceProxyFactory.java:37)
at org.jboss.errai.ioc.client.api.builtin.CallerProvider$1.call(CallerProvider.java:43)
at ch.apkern.rpc.client.local.App.buildUI(App.java:40)
at org.jboss.errai.ioc.client.BootstrapperImpl$13.init(BootstrapperImpl.java:136)
at org.jboss.errai.ioc.client.BootstrapperImpl$13.init(BootstrapperImpl.java:1)
at org.jboss.errai.ioc.client.container.CreationalContext.fireAllInitCallbacks(CreationalContext.java:323)
at org.jboss.errai.ioc.client.container.CreationalContext.finish(CreationalContext.java:313)
at org.jboss.errai.ioc.client.Container.bootstrapContainer(Container.java:59)
at org.jboss.errai.ioc.client.Container.onModuleLoad(Container.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Thread.java:662)
ERROR: Failed to load module 'app' from user agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4' at localhost:41906
I can also reproduce this in a new created project with the cdi-quickstart archetype ... adding a RPC Service and acces this one in the @PostConstruct method of the entrypoint. I have attached the project.
Make i anything wrong, or has anyone a suggestion to solve this problem?
Thanks in advance.
Edit:
- This error comes up in version 2.1.0.Final and 2.1.1.Final on JBoss AS 7.1.1.Final
Regards Michel
-
rpc.zip 69.3 KB