It appears to me you are not sucessfully loading the JavaScript API using the AJAX API loader. You can either use javascript commands to the loader directly in your .html file, or you can use the AjaxLoader class.
On Jan 1, 11:45 am, Corwin1 <[email protected]> wrote: > I'm a beginner with visualization api & gwt. I've done what's written > in the getting started visualization page "Setting up a GWT Project to > use the Visualization API" > athttp://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis... > > when i try to run the pie chart example provided there from eclipse or > from command line it fails with the following errors: > > [ERROR] Unable to load module entry point class > com.example.simpleviz.client.SimpleViz (see associated exception for > details) > com.google.gwt.core.client.JavaScriptException: (TypeError): > '$wnd.google' is null or not an object > number: -2146823281 > description: '$wnd.google' is null or not an object > at com.google.gwt.visualization.client.AjaxLoader.loadApi(Native > Method) > at com.google.gwt.visualization.client.AjaxLoader.loadVisualizationApi > (AjaxLoader.java:38) > at com.google.gwt.visualization.client.AjaxLoader.loadVisualizationApi > (AjaxLoader.java:31) > at com.example.simpleviz.client.SimpleViz.onModuleLoad(SimpleViz.java: > 35) > > [ERROR] Failure to load module 'com.example.simpleviz.SimpleViz' > > What is wrong ? Can anyone please help ? > > thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" 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-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
