Hybrid View
-
6 Dec 2012 2:07 AM #1
Unusable application throwing Invalid Argument with IE 8
Unusable application throwing Invalid Argument with IE 8
Hi,
We have the last GXT 3.0.2b version and our application throws AttachDetach Exception with an invalid argument message that you can find below :
(Style.java:-1) 2012-12-05 18:28:36,248 [ERROR] onUncaughtException : Exception caught: (Error) @com.google.gwt.dom.client.Style:
etPropertyImpl(Ljava/lang/String;Ljava/lang/String
([string: 'width', string: '-25.0px']): Invalid argument.
com.google.gwt.user.client.ui.AttachDetachException: Exception caught: (Error) @com.google.gwt.dom.client.Style:
etPropertyImpl(Ljava/lang/String;Ljava/lang/String
([string: 'width', string: '-25.0px']): Invalid argument.
at com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:87)
at com.sencha.gxt.widget.core.client.container.Container.doAttachChildren(Container.java:312)
at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)
at com.sencha.gxt.widget.core.client.Component.onAttach(Component.java:1276)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:299)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
at com.sencha.gxt.widget.core.client.ComponentHelper.doAttach(ComponentHelper.java)
at com.sencha.gxt.widget.core.client.TabPanel.doAttachChildren(TabPanel.java:770)
at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)
at com.sencha.gxt.widget.core.client.Component.onAttach(Component.java:1276)
at com.sencha.gxt.widget.core.client.TabPanel.onAttach(TabPanel.java:818)
at com.google.gwt.user.client.ui.Widget.setParent(Widget.java:475)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:299)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
at com.sencha.gxt.widget.core.client.ComponentHelper.setParent(ComponentHelper.java)
at com.sencha.gxt.widget.core.client.container.Container.adopt(Container.java:301)
at com.sencha.gxt.widget.core.client.container.Container.insert(Container.java:398)
at com.sencha.gxt.widget.core.client.container.InsertResizeContainer.insert(InsertResizeContainer.java:27)
at com.sencha.gxt.widget.core.client.TabPanel.insert(TabPanel.java:422)
at com.sencha.gxt.widget.core.client.TabPanel.add(TabPanel.java:233)
at com.pcis.phenix.client.view.MainPanel.addTabWidgetIfAbsent(MainPanel.java:370)
at com.pcis.phenix.client.view.MainPanel.showCommandePanelItem(MainPanel.java:217)
at com.pcis.phenix.client.action.commande.InitOrderViewAction$1.success(InitOrderViewAction.java:21)
at com.pcis.phenix.client.action.commande.InitOrderViewAction$1.success(InitOrderViewAction.java:1)
at com.pcis.phenix.client.service.AbstractAsyncCallback.onSuccess(AbstractAsyncCallback.java:38)
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232)
at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.google.gwt.core.client.JavaScriptException: (Error) @com.google.gwt.dom.client.Style:
etPropertyImpl(Ljava/lang/String;Ljava/lang/String
([string: 'width', string: '-25.0px']): Invalid argument.
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:299)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
at com.google.gwt.dom.client.Style$.setPropertyImpl$(Style.java)
at com.google.gwt.dom.client.Style$.setProperty$(Style.java:2030)
at com.google.gwt.dom.client.Style$.setPropertyPx$(Style.java:2039)
at com.sencha.gxt.theme.base.client.field.TriggerFieldDefaultAppearance.onResize(TriggerFieldDefaultAppearance.java:215)
at com.sencha.gxt.cell.core.client.form.TriggerFieldCell.setSize(TriggerFieldCell.java:304)
at com.sencha.gxt.widget.core.client.cell.CellComponent.onResize(CellComponent.java:368)
at com.sencha.gxt.widget.core.client.Component.setPixelSize(Component.java:845)
at com.sencha.gxt.widget.core.client.container.ResizeContainer.applyLayout(ResizeContainer.java:97)
at com.sencha.gxt.widget.core.client.form.FieldLabel.doLayout(FieldLabel.java:459)
at com.sencha.gxt.widget.core.client.container.ResizeContainer.forceLayout(ResizeContainer.java:70)
at com.sencha.gxt.widget.core.client.container.ResizeContainer.forceLayoutOnChildren(ResizeContainer.java:140)
at com.sencha.gxt.widget.core.client.container.ResizeContainer.forceLayout(ResizeContainer.java:72)
at com.sencha.gxt.widget.core.client.ContentPanel.layoutBars(ContentPanel.java:772)
at com.sencha.gxt.widget.core.client.ContentPanel.onAfterFirstAttach(ContentPanel.java:789)
at com.sencha.gxt.widget.core.client.Component.onAttach(Component.java:1279)
at com.google.gwt.user.client.ui.AttachDetachException$1.execute(AttachDetachException.java:34)
at com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:74)
at com.sencha.gxt.widget.core.client.container.Container.doAttachChildren(Container.java:312)
at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)
at com.sencha.gxt.widget.core.client.Component.onAttach(Component.java:1276)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:299)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
at com.sencha.gxt.widget.core.client.ComponentHelper.doAttach(ComponentHelper.java)
at com.sencha.gxt.widget.core.client.TabPanel.doAttachChildren(TabPanel.java:770)
at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)
at com.sencha.gxt.widget.core.client.Component.onAttach(Component.java:1276)
at com.sencha.gxt.widget.core.client.TabPanel.onAttach(TabPanel.java:818)
at com.google.gwt.user.client.ui.Widget.setParent(Widget.java:475)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:299)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
at com.sencha.gxt.widget.core.client.ComponentHelper.setParent(ComponentHelper.java)
at com.sencha.gxt.widget.core.client.container.Container.adopt(Container.java:301)
at com.sencha.gxt.widget.core.client.container.Container.insert(Container.java:398)
at com.sencha.gxt.widget.core.client.container.InsertResizeContainer.insert(InsertResizeContainer.java:27)
at com.sencha.gxt.widget.core.client.TabPanel.insert(TabPanel.java:422)
at com.sencha.gxt.widget.core.client.TabPanel.add(TabPanel.java:233)
at com.pcis.phenix.client.view.MainPanel.addTabWidgetIfAbsent(MainPanel.java:370)
at com.pcis.phenix.client.view.MainPanel.showCommandePanelItem(MainPanel.java:217)
at com.pcis.phenix.client.action.commande.InitOrderViewAction$1.success(InitOrderViewAction.java:21)
at com.pcis.phenix.client.action.commande.InitOrderViewAction$1.success(InitOrderViewAction.java:1)
at com.pcis.phenix.client.service.AbstractAsyncCallback.onSuccess(AbstractAsyncCallback.java:38)
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232)
at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:662)
(Style.java:-1) 2012-12-05 18:28:36,289 [ERROR] [Phenix] onUncaughtException : (Error) @com.google.gwt.dom.client.Style:
etPropertyImpl(Ljava/lang/String;Ljava/lang/String
([string: 'width', string: '-25.0px']): Invalid argument.
com.google.gwt.core.client.JavaScriptException: (Error) @com.google.gwt.dom.client.Style:
etPropertyImpl(Ljava/lang/String;Ljava/lang/String
([string: 'width', string: '-25.0px']): Invalid argument.
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:299)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
at com.google.gwt.dom.client.Style$.setPropertyImpl$(Style.java)
at com.google.gwt.dom.client.Style$.setProperty$(Style.java:2030)
at com.google.gwt.dom.client.Style$.setPropertyPx$(Style.java:2039)
at com.sencha.gxt.theme.base.client.field.TriggerFieldDefaultAppearance.onResize(TriggerFieldDefaultAppearance.java:215)
at com.sencha.gxt.cell.core.client.form.TriggerFieldCell.setSize(TriggerFieldCell.java:304)
at com.sencha.gxt.widget.core.client.cell.CellComponent.onResize(CellComponent.java:368)
at com.sencha.gxt.widget.core.client.Component.setPixelSize(Component.java:845)
at com.sencha.gxt.widget.core.client.container.ResizeContainer.applyLayout(ResizeContainer.java:97)
at com.sencha.gxt.widget.core.client.form.FieldLabel.doLayout(FieldLabel.java:459)
at com.sencha.gxt.widget.core.client.container.ResizeContainer.forceLayout(ResizeContainer.java:70)
at com.sencha.gxt.widget.core.client.container.ResizeContainer$1.execute(ResizeContainer.java:34)
at com.google.gwt.core.client.impl.SchedulerImpl$Task$.executeScheduled$(SchedulerImpl.java:50)
at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:228)
at com.google.gwt.core.client.impl.SchedulerImpl.flushFinallyCommands(SchedulerImpl.java:327)
at com.google.gwt.core.client.impl.Impl.exit(Impl.java:266)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:257)
at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:662)
This issue is blocking for us, do you know if there is any new GXT release that is going to be shipped very soon that fixes the problem ? (nighly builds are not a solution as they can raise other instabilities)
Thanks
Sami
-
6 Dec 2012 11:17 AM #2
EDIT: Whoops, this might be something new, so I'm taking back my earlier statement about it being fixed. That said, we need more information to make a good judgement - can you share a code sample that reproduces the issue, or at least a good description of what is happening? There isn't a lot we can do with a stack trace and no other context. Please follow the bug template posted, and consider reviewing the nearly identical bug (same root exception different trace) at http://www.sencha.com/forum/showthre...-25px-invalid) to see if maybe the existing workaround works for you.
-
7 Dec 2012 5:26 AM #3
Hi,
Here is the template and the step to reproduce thru a basic sample. This issue is very blocking, I think that's better to officially communicate on the fact that GXT 3.0.2 does not support IE 8.
Required Information
Version(s) of Ext GWT
3.0.3-SNAPSHOT and 3.1.0-SNAPSHOT and SVN nightly builds
Browser versions and OS
(and desktop environment, if applicable)- «Internet Explorer 8, Windows 7»
Virtual Machine
«No»
Description
«Invalid Argument is raised when rendering components in TabPanel»
Run mode
«Occurs un development mode and production mode»
Steps to reproduce the problem
Just run the attached sample, an exception is raised during the change of Tabs [/list]
Expected result
«No exception»
Actual result
«An exception is raised»
Test case
See attached step to reproduce
Helpful Information
Debugging already done- The problem is about sending negative value to CSS fields
Possible fix
«Not provided»
Sami
-
21 Dec 2012 5:21 AM #4
This issue does not seem to be related to other "Invalid Argument" posts as it targets TriggerFieldCell class
Some kind of response would be appreciated! (none of the snapshot/nightly builds work)
Thanks.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote