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 [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=.