1. #1
    Ext User
    Join Date
    May 2008
    Posts
    11
    Vote Rating
    0
    anunez is on a distinguished road

      0  

    Exclamation [FIXED] Dialogs are broken in latest beta4 repack

    [FIXED] Dialogs are broken in latest beta4 repack


    With the last GXT beta4 uploaded by Darrell (there were 2 beta4 packages uploaded before the current one), the dialogs are broken. The mail application throws this error:

    Code:
    [ERROR] Unable to load module entry point class com.extjs.gxt.samples.mail.client.Mail (see associated exception for details)
    java.lang.AssertionError: Method must be called before the component is rendered
        at com.extjs.gxt.ui.client.widget.Component.assertPreRender(Component.java:1063)
        at com.extjs.gxt.ui.client.widget.ContentPanel.setFooter(ContentPanel.java:541)
        at com.extjs.gxt.ui.client.widget.ContentPanel.onRender(ContentPanel.java:766)
        at com.extjs.gxt.ui.client.widget.Window.onRender(Window.java:764)
        at com.extjs.gxt.ui.client.widget.Dialog.onRender(Dialog.java:218)
        at com.extjs.gxt.ui.client.widget.Component.render(Component.java:736)
        at com.extjs.gxt.ui.client.widget.Component.onAttach(Component.java:1131)
        at com.extjs.gxt.ui.client.widget.Container.onAttach(Container.java:307)
        at com.google.gwt.user.client.ui.Widget.setParent(Widget.java:231)
        at com.google.gwt.user.client.ui.Panel.adopt(Panel.java:119)
    The same error appears with a simple code like this:
    Code:
            Dialog prueba = new Dialog();
            prueba.show();

  2. #2
    Ext User
    Join Date
    Apr 2008
    Location
    Munich, Germany
    Posts
    43
    Vote Rating
    0
    flow is on a distinguished road

      0  

    Exclamation


    +1
    GXT Beta 4 (download)

    In my case the new ContentPanel#assertPreRender() throws an AssertionError as the Layout renders its children.
    I attached my stacktrace.

    I suggest that a fix to this should result in a new download of Beta 4 as not everyone has access to the SVN.

    Thanks!
    Flo~

    Code:
    Thread [main] (Suspended (exception AssertionError))    
        LoginPanel(Component).assertPreRender() line: 1063    
        LoginPanel(ContentPanel).setFooter(boolean) line: 541    
        LoginPanel(ContentPanel).onRender(Element, int) line: 766    
        LoginPanel(FormPanel).onRender(Element, int) line: 137    
        LoginPanel(Component).render(Element, int) line: 736    
        LoginPanel(Component).render(Element) line: 709    
        CenterLayout(TableLayout).renderComponent(Component, int, El) line: 359    
        CenterLayout.renderAll(Container, El) line: 47    
        CenterLayout(TableLayout).onLayout(Container, El) line: 350    
        CenterLayout.onLayout(Container, El) line: 39    
        CenterLayout(Layout).layout() line: 66    
        Viewport(Container<T>).doLayout() line: 237    
        Viewport(Container<T>).layout() line: 302    
        Viewport(LayoutContainer).layout() line: 234    
        Viewport(Container<T>).onAttach() line: 309    
        Viewport.onAttach() line: 73    
        Viewport(Widget).setParent(Widget) line: 231    
        RootPanel(Panel).adopt(Widget) line: 119    
        RootPanel(ComplexPanel).add(Widget, Element) line: 86    
        RootPanel(AbsolutePanel).add(Widget) line: 80    
        LoginController.handleEvent(AppEvent<?>) line: 56    
        Dispatcher.dispatch(AppEvent, boolean) line: 238    
        Dispatcher.dispatch(AppEvent) line: 166    
        Dispatcher.dispatch(int) line: 176    
        Multibase.onModuleLoad() line: 51    
        NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]    
        NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available    
        DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available    
        Method.invoke(Object, Object...) line: not available    
        ModuleSpaceIE6(ModuleSpace).onLoad(TreeLogger) line: 303    
        BrowserWidgetIE6(BrowserWidget).attachModuleSpace(ModuleSpace) line: 324    
        BrowserWidgetIE6.access$200(BrowserWidgetIE6, ModuleSpace) line: 37    
        BrowserWidgetIE6$External.gwtOnLoad(IDispatch, String) line: 71    
        BrowserWidgetIE6$External.invoke(int, int, Variant[]) line: 128    
        BrowserWidgetIE6$External(IDispatchImpl).Invoke(int, int, int, int, int, int, int, int) line: 294    
        BrowserWidgetIE6$External(IDispatchImpl).method6(int[]) line: 194    
        COMObject.callback6(int[]) line: 117    
        OS.DispatchMessageW(MSG) line: not available [native method]    
        OS.DispatchMessage(MSG) line: 1925    
        Display.readAndDispatch() line: 2966    
        GWTShell.pumpEventLoop() line: 721    
        GWTShell.run() line: 594    
        GWTShell.main(String[]) line: 358

  3. #3
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Default


    ...must really be a beta then

  4. #4
    Ext User
    Join Date
    Apr 2008
    Location
    Munich, Germany
    Posts
    43
    Vote Rating
    0
    flow is on a distinguished road

      0  

    Default


    I heard that, yes

  5. #5
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    I have uploaded a new build that fixes the assert issue. This will be the last time I overwrite an existing build :-). A new build (maybe something like beta4b) should be made as it is really a bad idea to have multiple versions of the same release.

  6. #6
    Ext User
    Join Date
    Jun 2008
    Posts
    2
    Vote Rating
    0
    drunningw is on a distinguished road

      0  

    Default Famous last words ;=)

    Famous last words ;=)


    I know the hesitation/temptation to override an existing build (been there and done that).

    However, I appreciate you doing it, and the quick reply to this issue. I'll just check the date and time real careful like. ;=)

    Thanks, Darrell!!

  7. #7
    Ext GWT Premium Member
    Join Date
    Jun 2008
    Posts
    50
    Vote Rating
    0
    Manuel Elaraj is on a distinguished road

      0  

    Default


    Where is this new build. i am having the same issue.

  8. #8
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Default


    just download beta4 again - the build zip has been replaced with a new zip file of the same name that has fresh code in it... if you did a compare it would have different inside bits !!

  9. #9
    Ext User
    Join Date
    Apr 2008
    Location
    Munich, Germany
    Posts
    43
    Vote Rating
    0
    flow is on a distinguished road

      0  

    Default


    @Darrell: Thanks

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