1. #1
    Ext User
    Join Date
    Mar 2009
    Location
    Castellterçol (Catalonia)
    Posts
    13
    Vote Rating
    0
    pepgrifell is on a distinguished road

      0  

    Default ClassCastException in ColumnData

    ClassCastException in ColumnData


    hi there,

    I'm getting this error when calling the method layout() in a LayoutContainer object:

    Code:
     
    ClassCastException: com.extjs.gxt.ui.client.widget.layout.ColumnData
    Probably I have an error in my view (a big one). The problem is that when I catch the error, I can't see the line that fails in my class. This is the stacktrace after calling layoutContainer.layout() in my class:
    Code:
    com.extjs.gxt.ui.client.widget.layout.AnchorLayout.onLayout(AnchorLayout.java:99)com.extjs.gxt.ui.client.widget.Layout.layout(Layout.java:93)com.extjs.gxt.ui.client.widget.Layout.onResize(Layout.java:239)com.extjs.gxt.ui.client.widget.Layout$1.handleEvent(Layout.java:52)com.extjs.gxt.ui.client.widget.Layout$1.handleEvent(Layout.java:1)com.extjs.gxt.ui.client.event.BaseObservable.fireEvent(BaseObservable.java:74)com.extjs.gxt.ui.client.widget.Component.fireEvent(Component.java:443)com.extjs.gxt.ui.client.widget.BoxComponent.setSize(BoxComponent.java:427)com.extjs.gxt.ui.client.widget.Layout.setSize(Layout.java:286)com.extjs.gxt.ui.client.widget.layout.AnchorLayout.onLayout(AnchorLayout.java:121)com.extjs.gxt.ui.client.widget.Layout.layout(Layout.java:93)com.extjs.gxt.ui.client.widget.Container.doLayout(Container.java:360)com.extjs.gxt.ui.client.widget.Container.layout(Container.java:455)com.extjs.gxt.ui.client.widget.LayoutContainer.layout(LayoutContainer.java:238)com.extjs.gxt.ui.client.widget.Container.doLayout(Container.java:376)com.extjs.gxt.ui.client.widget.Container.layout(Container.java:455)com.extjs.gxt.ui.client.widget.LayoutContainer.layout(LayoutContainer.java:238)com.extjs.gxt.ui.client.widget.Container.doLayout(Container.java:376)com.extjs.gxt.ui.client.widget.Container.layout(Container.java:455)com.extjs.gxt.ui.client.widget.LayoutContainer.layout(LayoutContainer.java:238)
    In the onModuleLoad(), I have this code to catch exceptions:
    Code:
    GWT.setUncaughtExceptionHandler(
    new GWT.UncaughtExceptionHandler() { publicvoid onUncaughtException(Throwable error) { Dispatcher.forwardEvent(AppEvents.ShowError, error); }
    });
    Should I put a try catch in my class ?

    Thanks !

  2. #2
    Ext User fother's Avatar
    Join Date
    Sep 2007
    Location
    Brazil
    Posts
    744
    Vote Rating
    -1
    fother is an unknown quantity at this point

      0  

    Default


    post the code example

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi