I had the same issue in firefox but trying internet explorer i didn't.
For some reason I then removed the part of URL, in the web browser,
that had the ip address in there starting with the ?
gwt.codeserver=xxxx  and it worked fine in firefox.

On Feb 2, 12:00 pm, "Juan M.M.M." <[email protected]> wrote:
> hi!
>
> I'm becoming exasperated because this class sometimes works fine and
> sometimes it going crazy. Let's supose this HTML like mine
>
> ...
> <body>
>    <div id="frame1">
>       <div id="frame1.1">
>       </div>
>    </div>
>    <div id="frame2">
>    </div>
> </body>
>
> In method OnModuleLoad() u can refeer with this sentence RootPanel.get
> ("div_name") to the DIV layer without problems. Then if u do the same
> but in another public method, for example u could be refeer to the
> frame1 and frame2 layer BUT if u refeer to frame1.1, u will get this
> error:
>
> java.lang.AssertionError: A widget that has an existing parent widget
> may not be added to the detach list
>     at com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose
> (RootPanel.java:136)
>     at com.google.gwt.user.client.ui.RootPanel.get(RootPanel.java:211)
>     at com.my.irn.client.IRn.DisplayResults(IRn.java:398)
>     at com.my.irn.client.IRn.Paginar(IRn.java:450)
>
> ...
>
> Why is hapenning with this class? Can I try another way to setWidgets,
> setVisibility, etc to the DIVs layer.
>
> The full error message, below:
>
> java.lang.AssertionError: A widget that has an existing parent widget
> may not be added to the detach list
>     at com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose
> (RootPanel.java:136)
>     at com.google.gwt.user.client.ui.RootPanel.get(RootPanel.java:211)
>     at com.my.irn.client.IRn.DisplayResults(IRn.java:398)
>     at com.my.irn.client.IRn.Paginar(IRn.java:450)
>     at com.my.irn.client.IRn$1MyHandler$1.onSuccess(IRn.java:267)
>     at com.my.irn.client.IRn$1MyHandler$1.onSuccess(IRn.java:1)
>     at
> com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived
> (RequestCallbackAdapter.java:216)
>     at com.google.gwt.http.client.Request.fireOnResponseReceived
> (Request.java:287)
>     at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange
> (RequestBuilder.java:396)
>     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.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.java:157)
>     at
> com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn
> (BrowserChannel.java:1713)
>     at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript
> (BrowserChannelServer.java:165)
>     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.java: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.GeneratedMethodAccessor24.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.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.java:157)
>     at com.google.gwt.dev.shell.BrowserChannel.reactToMessages
> (BrowserChannel.java:1668)
>     at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
> (BrowserChannelServer.java:401)
>     at com.google.gwt.dev.shell.BrowserChannelServer.run
> (BrowserChannelServer.java:222)
>     at java.lang.Thread.run(Thread.java:619)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-web-toolkit?hl=en.

Reply via email to