can not load application in IE8.

please help. I have 2 issues.

  1. My application using SmartGWT does not run/load under IE8, loads and looks correct in IE7. it loads in FF but the whole layout is messed up.
    I changed DOCTYPE in app.html to.

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>

and that did not help either.

  1. in hosted mode, I get many of following exceptions.

[WARN] Malformed JSNI reference ‘toLocaleString’; expect subsequent failures
java.lang.NoSuchFieldError: toLocaleString
at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getDispId(CompilingClassLoader.java:122)
at com.google.gwt.dev.shell.CompilingClassLoader.getDispId(CompilingClassLoader.java:574)
at com.google.gwt.dev.shell.ie.IDispatchProxy.getIDsOfNames(IDispatchProxy.java:124)
at com.google.gwt.dev.shell.ie.IDispatchImpl.GetIDsOfNames(IDispatchImpl.java:273)
at com.google.gwt.dev.shell.ie.IDispatchImpl.method5(IDispatchImpl.java:189)
at org.eclipse.swt.internal.ole.win32.COMObject.callback5(COMObject.java:108)
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)

and

[WARN] Malformed JSNI reference ‘constructor’; expect subsequent failures
java.lang.NoSuchFieldError: constructor
at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getDispId(CompilingClassLoader.java:122)
at com.google.gwt.dev.shell.CompilingClassLoader.getDispId(CompilingClassLoader.java:574)
at com.google.gwt.dev.shell.ie.IDispatchProxy.getIDsOfNames(IDispatchProxy.java:124)
at com.google.gwt.dev.shell.ie.IDispatchImpl.GetIDsOfNames(IDispatchImpl.java:273)
at com.google.gwt.dev.shell.ie.IDispatchImpl.method5(IDispatchImpl.java:189)
at org.eclipse.swt.internal.ole.win32.COMObject.callback5(COMObject.java:108)
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)

Always post a minimal standalone testcase when reporting issues. Also mention what version of GWT and SmartGWT you are using.

Note that you should not be using an XHTML doctype. Any HTML doctype is fine, but we actually recommend the absence of a doctype, as IE slows down in standards mode, and SmartGwt compensates for the quirks automatically anyway.

I just downloaded SmartGWTPro1-2 and GWT 1.7 and still having IE8 problem.
Also my html has following DOCTYPE.

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>

PS. Chrome and IE7 work fine. IE8 in Compatibility does work either.

This sounds like just a botched installation. There’s no way to say more without seeing your complete application.

Just as a sanity check, the online showcase samples all work for you in IE8, right? That’s the same version you’re running.

Well, I just tried accessing http://www.smartclient.com/smartgwt/showcase/
and in IE8 it does not passes the first message. “loading styles/images”.
Other browsers are OK.

PS. I created a sample GWT using GWT plugin for Eclispe and have the same problem.

OK, the question has now become: what’s wrong with your browser?

IE8 works on the showcase on a variety of machines over here, one example is 8.0.6001.18702 on WinXP SP3.

Are you seeing a JavaScript error?

If you install Fiddler, are you seeing a network connection stall or fail?

thanks for your help.
After resting the IE settings to their default condition, I was able to run your showcase samples.

Good to hear. Any idea which particular setting was the issue (it might help other users)?

Any news on IE8 not working with FilterBuilder bug fix?