thanks for the pointers! You were absolutely right, it is related to
SOP. I tried it on IE and there I get a human readable message ("The
URL ... is invalid or violates the same-origin sercurity restriction).
It seems that someone - probably by mistake - set the wrong url in a
config file so it's trying to connect to a foreign server directly
instead of going through the proxy servlet. After fixing this it works
again.
thanks again,
Dennis
On Jul 27, 3:33 pm, Katharina Probst <kpro...@google.com> wrote:
> Hi Dennis,
>
> my guess is that this has something to do with the ports you're using for
> DevMode. A couple of things to try:
>
> - are you running DevMode in -noserver mode? If so, it could be a Same
> Origin Policy problem.
> - can you confirm that this problem only occurs on Firefox and not on IE?
> AFAIU, this is Firefox-specific.
> - does compiling and deploying your app work fine (even for FF)?
>
> kathrin
>
>
>
> On Tue, Jul 27, 2010 at 9:05 AM, googelybear <googelyb...@gmail.com> wrote:
> > Hi,
>
> > Previously I was running my gwt app in eclipse 3.5. Now I have
> > installed a fresh 3.6 (helios, classic), subversive and the gwt plugin
> > via the update sites. Starting my gwt app also works fine and the
> > "Development Mode" tab gets opened. When I connect to my app via
> > firefox and login I get the following error:
>
> > 14:58:58.693 [ERROR] [MonoCore] Uncaught exception escaped
> > com.google.gwt.core.client.JavaScriptException:
> > (NS_ERROR_NOT_AVAILABLE): Component returned failure code: 0x80040111
> > (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.statusText]
> > QueryInterface: function QueryInterface() {
> > [native code]
> > }
> > result: 2147746065
> > filename:http://127.0.1.1:8888
> > lineNumber: 104
> > columnNumber: 0
> > inner: null
> > data: null
> > initialize: function initialize() {
> > [native code]
> > }
> > at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChann elServer.java:
> > 195)
> > at
> > com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
> > 120)
> > at
> > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
> > 507)
> > at
> > com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
> > 264)
> > at
>
> > com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.j ava:
> > 91)
> > at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
> > at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
> > at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
> > at
>
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:
> > 25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> > com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
> > at
> > com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
> > at
>
> > com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.jav a:
> > 157)
> > at
>
> > com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java :
> > 1669)
> > at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan nelServer.java:
> > 401)
> > at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java :
> > 222)
> > at java.lang.Thread.run(Thread.java:619)
>
> > I am running on a linux box (Ubuntu) and I already tried to clean and
> > rebuild the project and restart firefox and eclipse but to no help. I
> > also created a new launch config (right click on project > run as >
> > web application). On eclipse 3.5 everything worked fine.
>
> > Did anyone else experience this issue or has an idea what's going
> > wrong here? Thanks for any help.
>
> > Dennis
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment