What OS are you developing in? What browser are you testing the compiled
code in?
I suspect that you are not developing in Windows and are testing compiled
code in IE. IE will report errors that other browsers don't (yeah I know
'typical IE', but there again if it didn't report errors when it should that
would be 'typical IE' too).

If that is the case, then you need to compile with the  -PRETTY option and
find out where the error is. Or try it on a Windows machine where you will
get a proper error report.

If not, then more information would be useful.

Ian

http://examples.roughian.com


2009/8/17 Rahul <coolrahul18...@gmail.com>

>
> Hi,
> Some more information,
> when i compile the project i am getting succesful output i.e.
> Compiling module com.example.test10.Test10
>   Compiling 6 permutations
>      Permutation compile succeeded
>   Linking into war
>      Link succeeded
>   Compilation succeeded -- 22.428s
>
> but now when i run it i am gettin the error. And it was working fine
> in the hosted mode
>
>
> On Aug 17, 1:18 pm, Rahul <coolrahul18...@gmail.com> wrote:
> > Hi,
> > My web application was working fine when it was running in hosted
> > mode, as soon as i compiled it, i got this error
> >
> > [ERROR] Uncaught exception escaped
> > java.lang.StringIndexOutOfBoundsException: String index out of range:
> > 16
> >         at java.lang.String.substring(Unknown Source)
> >         at
> com.example.test10.client.Test10$4.onResponseReceived(Test10.java:
> > 330)
> >         at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl
> > (Request.java:264)
> >         at
> com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch
> > (Request.java:236)
> >         at com.google.gwt.http.client.Request.fireOnResponseReceived
> > (Request.java:227)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> >         at java.lang.reflect.Method.invoke(Unknown Source)
> >         at
> com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
> > 103)
> >         at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
> > (IDispatchImpl.java:126)
> >         at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
> > (IDispatchProxy.java:155)
> >         at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
> > (IDispatchImpl.java:294)
> >         at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
> > (IDispatchImpl.java:194)
> >         at org.eclipse.swt.internal.ole.win32.COMObject.callback6
> > (COMObject.java:117)
> >         at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
> Method)
> >         at
> org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
> >         at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
> >         at com.google.gwt.dev.SwtHostedModeBase.processEvents
> > (SwtHostedModeBase.java:235)
> >         at com.google.gwt.dev.HostedModeBase.pumpEventLoop
> > (HostedModeBase.java:558)
> >         at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
> >         at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)
> >
> > any suggestions how to remove this error ?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to