Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    5
    Vote Rating
    0
    lkuchars is on a distinguished road

      0  

    Default [CLOSED] Runtime error after upgrading to gxt beta4 and gwt 1.5 rc1

    [CLOSED] Runtime error after upgrading to gxt beta4 and gwt 1.5 rc1


    Hello

    Today we tried to upgrade our project to above configuration. New API in b4 required us to change few classes but eventually everything compiled successfully.
    Unfortunately neither web nor hosted mode works right now as it throws exception every time we run our application:
    Environment is Debian Linux, java 1.6, gxt b4, gwt 1.5 rc1
    Here are some details:
    Code:
    [ERROR] Uncaught exception escaped
    com.google.gwt.core.client.JavaScriptException: (TypeError): $wnd._el.fly(dom) has no properties
     fileName: jar:file:/home/lukasz/.m2/repository/gxt/gxt/1.0-beta4/gxt-1.0-beta4.jar!/com/extjs/gxt/ui/client/core/Ext.java
     lineNumber: 48
     stack: (null,"getFrameWidth","r")@jar:file:/home/lukasz/.m2/repository/gxt/gxt/1.0-beta4/gxt-1.0-beta4.jar!/com/extjs/gxt/ui/client/core/Ext.java:48
    final void com.google.gwt.user.client.Timer.fire()()@:0
    (7)@jar:file:/home/lukasz/.m2/repository/com/google/gwt/gwt-user/1.5-rc1/gwt-user-1.5-rc1.jar!/com/google/gwt/user/client/Timer.java:60
    @:0
    
        at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:443)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNativeInt(ModuleSpace.java:191)
        at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeInt(JavaScriptHost.java:75)
        at com.extjs.gxt.ui.client.core.El.getFrameWidth(El.java:726)
        at com.extjs.gxt.ui.client.widget.ContentPanel.getFrameWidth(ContentPanel.java:331)
        at com.extjs.gxt.ui.client.widget.ContentPanel.onResize(ContentPanel.java:876)
        at com.extjs.gxt.ui.client.widget.BoxComponent.setSize(BoxComponent.java:393)
        at com.extjs.gxt.ui.client.widget.layout.BorderLayout.applyLayout(BorderLayout.java:229)
        at com.extjs.gxt.ui.client.widget.layout.BorderLayout.onLayout(BorderLayout.java:191)
        at com.extjs.gxt.ui.client.widget.Layout.layout(Layout.java:66)
    Do you have any clue what might cause this exception to be thrown?
    Cheers
    lkc

  2. #2
    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 believe you are getting errors because GXT is not initializing. This problem occurs when the static code in El is not executed. Try adding GXT.init() in your first line of code. Let me know if that works.

  3. #3
    Ext User
    Join Date
    Apr 2008
    Posts
    5
    Vote Rating
    0
    lkuchars is on a distinguished road

      0  

    Default


    Quote Originally Posted by darrellmeyer View Post
    I believe you are getting errors because GXT is not initializing. This problem occurs when the static code in El is not executed. Try adding GXT.init() in your first line of code. Let me know if that works.
    Thanks for help Darrell, it seems one of our developers called
    Code:
    setFrame(true)
    on Container after it has been attached to DOM tree and rendered. This is our programming error and it's shown intself only in beta4.

    Keep up good work.
    lkc

  4. #4
    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


    No problem. I updated ContentPanel to use the pre-render assertions on all pre-render setters including setFrame.

Thread Participants: 1