$wnd.isc is null or not an object (Hosted mode)

Hi,

GWT 1.6.4
SmartGWT 1.0b2
Java 1.6.0_13

When I run my app in hosted mode, I get the following error (package names removed because it’s for work):

[ERROR] Unable to load module entry point class CLIENT_PACKAGE.MODULE_NAME (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (TypeError): ‘$wnd.isc’ is null or not an object
number: -2146823281
description: ‘$wnd.isc’ is null or not an object
at com.smartgwt.client.widgets.BaseWidget.init(Native Method)
at com.smartgwt.client.widgets.BaseWidget.<clinit>(BaseWidget.java:46)
at CLIENT_PACKAGE.MainWindow.<init>(MainWindow.java:25)
at CLIENT_PACKAGE.App.onModuleLoad(App.java:19)

All that I am doing in my code is this:

// Using com.smartgwt.client.widgets.Button
Button initButton = new Button("Initialise");

I have the isomorphicDir var set in my host page (which I know is working - I can see the resources inside sc/ being retrieved in the hosted mode console), and note that everything works perfectly outside hosted mode.

My module xml has:

<inherits name='com.smartgwt.SmartGwt'/>

as the only SmartGWT/SmartClient reference.

Any idea what’s going on?
Thanks guys.