Hi all,
Thanks for reply..
BTW, I could able to find the problem in my code which was causing
this problem.
In my JSP there was JS code for AJAX request other than that of the
GWT.
In that JS code we were used XMLHttpRequest as variable name and was
attached to window, In GWT 1.5.3 this name was conflicting with that
of used in HTTPRequestImplIE6 class.
class HTTPRequestImplIE6 extends HTTPRequestImpl {
@Override
protected native JavaScriptObject doCreateXmlHTTPRequest() /*-{
if ($wnd.XMLHttpRequest) {
I renamed variable name in JS code which solve the problem.
Thanks.
On Dec 26, 5:45 pm, Eric Ponthiaux <[email protected]> wrote:
> This look strange . I use the same GWT version as yours and i got no pb .
>
> NItin a écrit :
>
> > We are migrating GWT 1.5.2 to 1.5.3, and I have RPC code which works
> > fine
> > in GWT 1.5.2 same code is not working in GWT 1.5.3,
>
> > for different browsers its behaving different:
>
> > IE6 ->exception occur and request wont get send, following is stack
> > trace
> > from Hosted mode
>
> > [ERROR] Unable to load module entry point class
> > com.pav.widget.client.UIComponentLoader (see associated exception for
> > details)
>
> > com.google.gwt.core.client.JavaScriptException: (TypeError):
> > 'XMLHttpRequest' is undefined
> > number: -2146823279
> > description: 'XMLHttpRequest' is undefined
> > at
> > com.google.gwt.user.client.impl.HTTPRequestImplIE6.doCreateXmlHTTPRequest
> > (N
> > ative Method)
> > at
> > com.google.gwt.user.client.impl.HTTPRequestImpl.createXmlHTTPRequest
> > (HTTPRe
> > questImpl.java:53)
> > at
> > com.google.gwt.http.client.RequestBuilder.doSend(RequestBuilder.java:
> > 372)
> > at
> > com.google.gwt.http.client.RequestBuilder.send(RequestBuilder.java:
> > 239)
> > at
> > com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.doInvoke
> > (RemoteServi
> > ceProxy.java:236)
> > at
> > com.pav.widget.common.client.service.WidgetDataProviderService_Proxy.retrie
> > veValues(transient source for
> > com.pav.widget.common.client.service.WidgetDataProviderService_Proxy:
> > 38)
> > at
> > com.pav.widget.tree.client.core.TreeRuntimeDataMgmt.restoreTree
> > (TreeRuntime
> > DataMgmt.java:226)
> > at
> > com.pav.widget.tree.client.controller.tree.factory.BaseTreeCreator.getTreeV
> > iew(BaseTreeCreator.java:79)
> > at
> > com.pav.widget.apps.dataPickerTree.client.DataPickerTree
> > $DataPickerTreeCrea
> > tor.getTreeView(DataPickerTree.java:140)
> > at
> > com.pav.widget.apps.dataPickerTree.client.DataPickerTree.createWidget
> > (DataP
> > ickerTree.java:400)
> > at
> > com.pav.widget.client.UIComponentLoader.onModuleLoad
> > (UIComponentLoader.java
> > :40)
>
> > IE7 ->exception occurs but request get send and does recieve the
> > response
> > FF -> its working fine as expected, does request get send and recieve
> > responce witout any exception.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---