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 <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---