I have the same issue. I have stopped using dev mode and i reverted to standard mode.
On Sun, Dec 19, 2010 at 1:56 AM, Jim Douglas <[email protected]> wrote: > I see the same failure here. > > It looks like Chrome dev version 10.0.612.1 breaks GWT DevMode, but > production mode seems to work ok. > > http://code.google.com/p/google-web-toolkit/issues/detail?id=5778 > > FWIW, this appears to be a Chrome issue (as opposed to WebKit). The > problem does not occur in the 17 December nightly build of WebKit > (Version 5.0.3 (6533.19.4, r74228)). > > On Dec 18, 2:10 pm, alanmechy <[email protected]> wrote: > > Hi > > > > I hope someone can explain this to me - it looks like the latest > > version of Chrome doesn't work with GWT. > > > > Chrome updated itself to 10.0.612.1 and immediately my project fails > > to load: > > > > com.google.gwt.dev.shell.HostedModeException: Something other than a > > boolean was returned from JSNI method > > '[email protected]::init()': JS value > > of type JavaScript object(1), expected boolean > > at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:100) > > at > > > com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean(ModuleSpace.java: > > 186) > > at > > > com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost. > java: > > 35) > > at > > > com.google.gwt.user.client.impl.HistoryImplTimer.init(HistoryImplTimer.java > ) > > at com.google.gwt.user.client.History.<clinit>(History.java:63) > > at > > > com.mechnicality.mollycore.client.HistoryWrapper.addValueChangeHandler(Hist > oryWrapper.java: > > 22) > > at > > com.mechnicality.mollyweb.client.MollyGWTApp.bind(MollyGWTApp.java: > > 276) > > > > Which appears to relate to: > > > > public class History { > > > > private static HistoryImpl impl; > > > > static { > > impl = GWT.create(HistoryImpl.class); > > if (!impl.init()) { > > // Set impl to null as a flag to no-op future calls. > > impl = null; > > > > // Tell the user. > > GWT.log("Unable to initialize the history subsystem; did you " > > + "include the history frame in your host page? Try " > > + "<iframe src=\"javascript:''\" id='__gwt_historyFrame' " > > + "style='position:absolute;width:0;height:0;border:0'>" > > + "</iframe>"); > > } > > } > > > > and the init() method is: > > > > public native boolean init() /*-{ > > var token = ''; > > > > // Get the initial token from the url's hash component. > > var hash = $wnd.location.hash; > > if (hash.length > 0) { > > token = > > [email protected]::decodeFragment(Ljava/ > > lang/String;)(hash.substring(1)); > > } > > > > @com.google.gwt.user.client.impl.HistoryImpl::setToken(Ljava/lang/ > > String;)(token); > > > > var historyImpl = this; > > $wnd.onhashchange = $entry(function() { > > var token = '', hash = $wnd.location.hash; > > if (hash.length > 0) { > > token = > > [email protected] > ::decodeFragment(Ljava/ > > lang/String;)(hash.substring(1)); > > } > > > > [email protected] > ::newItemOnEvent(Ljava/ > > lang/String;)(token); > > }); > > > > return true; > > }-*/; > > > > I tried updating from 2.1.0 to 2.1.1 and that makes no difference. > > > > Regards > > > > Alan > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.
