1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Location
    London
    Posts
    11
    Vote Rating
    0
    ozlemsimsek is on a distinguished road

      0  

    Default Unanswered: Tabpanel assertion error on IE8

    Unanswered: Tabpanel assertion error on IE8


    Hi,
    I have a tab panel with two tabs.One of the tab has accordion panel and check box trees inside.
    I am using GXT 3.0.1GPL.
    On IE7 & IE8 I am sometimes getting an error message as below when I click on tabs.I have no problem on IE9, chrome and Firefox.
    java.lang.AssertionError: Child cannot be null

    com.google.gwt.core.client.JavaScriptException: (TypeError): Unable to get value of the property 'nodeType': object is null or undefined

    com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses
    com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses
    at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
    at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
    at com.sencha.gxt.widget.core.client.Component.fireEvent(Component.java:293)
    at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
    at com.sencha.gxt.widget.core.client.Component.onBrowserEvent(Component.java:607)
    at com.sencha.gxt.widget.core.client.cell.CellComponent.onBrowserEvent(CellComponent.java:216)
    at com.sencha.gxt.widget.core.client.form.Field.onBrowserEvent(Field.java:318)
    at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351)
    at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1307)
    at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    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:337)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
    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.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
    at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    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:292)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Thread.java:722)
    Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): Unable to get value of the property 'nodeType': object is null or undefined
    Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): Unable to get value of the property 'nodeType': object is null or undefined
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean(ModuleSpace.java:184)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost.java:35)
    at com.google.gwt.dom.client.DOMImplTrident.isOrHasChild(DOMImplTrident.java)
    at com.google.gwt.dom.client.DOMImplTrident.isOrHasChild(DOMImplTrident.java)
    at com.google.gwt.dom.client.Node$.isOrHasChild$(Node.java:280)
    at com.sencha.gxt.widget.core.client.tips.ToolTip.onTargetMouseOver(ToolTip.java:431)
    at com.sencha.gxt.widget.core.client.tips.ToolTip$Handler.onMouseOver(ToolTip.java:95)
    at com.google.gwt.event.dom.client.MouseOverEvent.dispatch(MouseOverEvent.java:65)
    at com.google.gwt.event.dom.client.MouseOverEvent.dispatch(MouseOverEvent.java:1)
    at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
    at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
    at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
    at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
    at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
    ... 32 more
    ... 32 more
    java.lang.AssertionError: Child cannot be null
    java.lang.AssertionError: Child cannot be null
    at com.google.gwt.dom.client.Node$.isOrHasChild$(Node.java:278)
    at com.sencha.gxt.widget.core.client.TabPanel.onBrowserEvent(TabPanel.java:472)
    at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351)
    at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1307)
    at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    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:337)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
    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.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
    at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    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:292)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Thread.java:722)


    Thanks in advance.

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,634
    Answers
    107
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    Do you get this error in production mode at all? If so, do you get this error at all on sencha.com/examples?

    Can you create a test case that demonstrates this issue? I don't believe I've seen this before.

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2012
    Location
    London
    Posts
    11
    Vote Rating
    0
    ozlemsimsek is on a distinguished road

      0  

    Default


    I get this error both in development mode and production mode..But I don't get it on sencha.com/examples.

    I read
    https://code.google.com/p/google-web-toolkit/wiki/IE8Support and

    <meta http-equiv="X-UA-Compatible" content="IE=8">
    added this to main html page.Now I get this error less, but it did not solve the issue completely.

    I will prepare a test case.

  4. #4
    Sencha Premium Member
    Join Date
    Apr 2012
    Location
    London
    Posts
    11
    Vote Rating
    0
    ozlemsimsek is on a distinguished road

      0  

    Default


    Hi,
    I don't get the error in my small test case application.I may need to add all the server calls to get the exception.
    But if I form a private Tabpanel and overwrite the onBrowserEvent, I get another exception after the log "XTabPanel onBrowserEvent null".
    public class XTabPanel extends TabPanel{
    public XTabPanel(){
    super();
    }
    @Override
    public void onBrowserEvent(Event event) {
    System.out.println("XTabPanel onBrowserEvent");
    XElement target = event.getEventTarget().cast();
    if (target!=null){
    super.onBrowserEvent(event);
    }
    else{
    System.out.println("XTabPanel onBrowserEvent null");
    }
    }
    }
    XTabPanel onBrowserEvent
    XTabPanel onBrowserEvent
    XTabPanel onBrowserEvent null
    XTabPanel onBrowserEvent null
    XTabPanel onBrowserEvent
    XTabPanel onBrowserEvent
    com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses
    com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses
    at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
    at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
    at com.sencha.gxt.widget.core.client.Component.fireEvent(Component.java:293)
    at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
    at com.sencha.gxt.widget.core.client.Component.onBrowserEvent(Component.java:607)
    at com.sencha.gxt.widget.core.client.cell.CellComponent.onBrowserEvent(CellComponent.java:216)
    at com.sencha.gxt.widget.core.client.form.Field.onBrowserEvent(Field.java:318)
    at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351)
    at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1307)
    at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    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:337)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
    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.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
    at sun.reflect.GeneratedMethodAccessor142.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    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:292)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Thread.java:722)
    Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): Unable to get value of the property 'nodeType': object is null or undefined
    Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): Unable to get value of the property 'nodeType': object is null or undefined
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean(ModuleSpace.java:184)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost.java:35)
    at com.google.gwt.dom.client.DOMImplTrident.isOrHasChild(DOMImplTrident.java)
    at com.google.gwt.dom.client.DOMImplTrident.isOrHasChild(DOMImplTrident.java)
    at com.google.gwt.dom.client.Node$.isOrHasChild$(Node.java:280)
    at com.sencha.gxt.widget.core.client.tips.ToolTip.onTargetMouseOut(ToolTip.java:423)
    at com.sencha.gxt.widget.core.client.tips.ToolTip$Handler.onMouseOut(ToolTip.java:90)
    at com.google.gwt.event.dom.client.MouseOutEvent.dispatch(MouseOutEvent.java:65)
    at com.google.gwt.event.dom.client.MouseOutEvent.dispatch(MouseOutEvent.java:1)
    at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
    at com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
    at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
    at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
    at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
    ... 32 more
    ... 32 more

  5. #5
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,634
    Answers
    107
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    Are you able to get that error in your simple standalone test case, or only in the rest of your app? If just in the big app, you are probably logging the case when it happens, but still no more information as to *why* it happens. If you can't break down the use case further or share the actual app itself, it is difficult to offer more advice.

    The only other thing I can think of is that IE is treating it as an intranet site, so is ignoring the meta tag and running as if it were an earlier version. That should only affect IE8 though, not IE7.

    If you can't provide a way for us to reproduce this, it will be very hard to fix. It doesn't make sense for a dom event to go off without a target.

    Your new stack trace doesn't agree with your title and initial post/trace: I see no reference to tab panel or assertion errors in this new post.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar