It looks like you start your code in hosted mode, but then hit the page
using a regular browser.  You cannot run HostedMode code against a regular
browser without the OOPHM plugin for obvious reasons.  In HostedMode, your
code runs ins a regular JVM with GWT code that acts as a communication layer
between the browser & native Java code.  But without the hosted mode browser
or the OOPHM plugin, there's nothing for it to communicate with.

So what you are seeing here is perfectly expected.  Either use the
HostedMode browser or build from trunk & use the OOPHM plugin according to
the instructions on the wiki.  Or run the regular browser against the
compiled code.

Those are your options.

On Sat, Apr 11, 2009 at 8:28 AM, babu <shajeerkt...@gmail.com> wrote:

>
> Dear all,
>
> I am currently facing a problem in which i am not able to understand
> the reason. This problem is happening only in hosted mode and when
> using IE.In Mozilla firefox it is working fine.
> I am currently having an application in GWT containing Some grids and
> some  drill down charts using fusion charts . If i clicked on a fusion
> chart the other drill down chart is loading.When i clicked the second
> one,the third drill down chart is loading.Its working perfect.
> Now if i took another page then tried the above procedures in hosted
> mode or in IE, All the charts are going to an invinsible mode . I can
> see only a white screen which contains nothing . Only i can view the
> back,forward,refresh,stop button and the url.
>
> Now if i again load the application and took the page that gone blank
> before it will work fine,but the other page which was working fine
> will be going to the blank page which i told above.
>
> In GWT development shell i was getting an uncaught Exception which is
> attached below.( Even i am getting this exception rarely,Not every
> time )
>
> [source][ERROR] Uncaught exception escaped
>
> java.lang.NullPointerException: null
> at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject
> (JavaScriptHost.java:91)
> at com.google.gwt.http.client.XMLHTTPRequest.getBrowserSpecificFailure
> (XMLHTTPRequest.java)
> at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl
> (Request.java:248)
> at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch
> (Request.java:226)
> at com.google.gwt.http.client.Request.fireOnResponseReceived
> (Request.java:217)
> 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:585)
> 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.GWTShell.pumpEventLoop(GWTShell.java:720)
> at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
> at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)[/source]
>
>
> But when i compiled and run it in a Mozilla FireFox browser. it is
> working fine and there is no problem at all.
> Only in hosted mode and IE i am facing the problem.
>
> When i asked the fusion chart Forum they replied as it may be a GWT
> issue.
>
> What may be the reason for this bug ?  Any body faced such an
> exception before ?
> Somebody please help.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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