I raised an issue for this a few days ago. http://code.google.com/p/google-web-toolkit/issues/detail?id=4258
I have just worked out what causing it. Its a mistake in my code UI XML. I had a colon in the width value. IE was throwing an exception where as Firefox and Chrome were simply ignoring it. Thanks, Charlie M On Nov 20, 4:21 pm, jd <jdpatter...@gmail.com> wrote: > I wonder if this is the bug that I am also seeing. I am running > 2.0RC2 and in IE6 also get an Illegal Argument error when I run it as > compiled JS. From hosted mode this exception is thrown > > com.google.gwt.core.client.JavaScriptException: (Error): Invalid > argument. number: -2147024809 description: Invalid argument. at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance > (NativeConstructorAccessorImpl.java:39) at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance > (DelegatingConstructorAccessorImpl.java:27) at > java.lang.reflect.Constructor.newInstance(Constructor.java:501) at > com.google.gwt.dev.shell.ModuleSpace.createJavaScriptException > (ModuleSpace.java:64) at > com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript > (BrowserChannelServer.java:157) at > com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke > (ModuleSpaceOOPHM.java:120) at > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: > 509) at > > stepping through the code my problem occurs in LayoutImplIE6 on the > line with the * > > public Element attachChild(Element parent, Element child, Element > before) { > if (!isIE6) { > return super.attachChild(parent, child, before); > } > > DivElement container = Document.get().createDivElement(); > * container.insertBefore(child, before); > > It works fine in IE7, 8, Safari and Firefox -- 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-tool...@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=.