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
    Sencha User
    Join Date
    Jul 2008
    Posts
    96
    Vote Rating
    0
    ritcoder is on a distinguished road

      0  

    Question Ui "stops" after some occasional dom error

    Ui "stops" after some occasional dom error


    I migrated to 4.1.0 beta 1 and there is an interesting error. My app has some windows. Most windows have a
    tree panel to the left, tab panel to the right.

    After opening and closing tabs, at some point, closing a tab results in a error. The tab closed disappears and a "hole" is created. Instead of the other tabs moving to the left to fill in the "hole", an exception is thrown instead. After that the ui is messed up.

    Closing any other tab results in the same thing until at one point all the tabs just disappear. Resize the browser window and the maximized window will not even response.

    If you close the window and open that window or any other window, what you see is not a window. Just some rect with the windows background. However, there is no title bar and non of the components are shown.

    The only is to reload the page.

    This is the 3rd time I see this error. Sorry I do not have snap shots.

    Below is the error from firebug. Hope it helps
    Code:
    Uncaught Error: NOT_FOUND_ERR: DOM Exception 8
    Ext.define.moveItem0.5:1
    Ext.define.renderItems0.5:1
    Ext.define.renderChildren0.5:1
    Ext.define.invalidate0.5:1
    Ext.define.invalidate0.5:1
    Ext.define.invalidate0.5:1
    Ext.define.invalidate0.5:1
    Ext.define.flushInvalidates0.5:1
    Ext.define.run0.5:1
    Ext.define.statics.flushLayouts0.5:1
    Ext.define.statics.updateLayout0.5:1
    Ext.define.updateLayout0.5:1
    Ext.define.doLayout0.5:1
    Ext.define.remove0.5:1
    Ext.define.closeTab0.5:1
    Ext.define.onCloseClick0.5:1
    Ext.define.onClick0.5:1
    (anonymous function)
    c
    regards.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,519
    Vote Rating
    813
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    When I get that error it usually has come down to trying to insert stale elements.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jul 2008
    Posts
    96
    Vote Rating
    0
    ritcoder is on a distinguished road

      0  

    Default


    So what do I do about it? It happens when I'm closing tabs. I doubt I'm inserting anything at that point though I'll try and monitor which of the tabs cause that error to doo some further checks.

  4. #4
    Sencha User
    Join Date
    Jul 2008
    Posts
    96
    Vote Rating
    0
    ritcoder is on a distinguished road

      0  

    Default


    It happened again. This time, I had a tab panel with 2 tabs. I was scrolling though the content of the 2nd tab and the toolbar with the tabs disappears leaving behind just the background. I checked and it was the same DOM Exception.

    Hope this helps. Will remember to take snap shots next time.

    Is there any other data I should gather if it happens again to help fix the issue?

    regards.

  5. #5
    Sencha Premium Member
    Join Date
    Dec 2009
    Location
    Rhode Island
    Posts
    223
    Vote Rating
    21
    dmulcahey will become famous soon enough dmulcahey will become famous soon enough

      0  

    Default


    Are you reusing anything that has an id set on it? If you have 2 instances of something that have the same id and you remove one it can cause ux errors like this. Specifically with your tab example... If both tabs were the same component and they had the same id, closing one will break the other one...

  6. #6
    Sencha User
    Join Date
    Jul 2008
    Posts
    96
    Vote Rating
    0
    ritcoder is on a distinguished road

      0  

    Default


    That is a given but in my case, that is not. In today's issue for example, each tab has an extjs control in it. There are instances where I'm creating new dom elements but in this case, none of that was in the play.

    Also, there is a function for getting ids and it uses the idea of ever increasing number, like extjs, so even in case, the ids will not repeat.

    Lastly, had none of these issues in 4.0.7. Unless 4.1.0 beta 1 is sensitive all of a sudden.

    I'm not really sure what the issue is but I'm guessing that some where along the line, when there is mouse move and those related events, dom element are created, destroyed, queries etc and somewhere along the line, an exception is thrown which leaves everything messed up.

  7. #7
    Sencha User
    Join Date
    Jul 2008
    Posts
    96
    Vote Rating
    0
    ritcoder is on a distinguished road

      0  

    Default


    Just upgraded to 4.1.0 beta 2 and got the error again. Looks like the stack trace is different this time. Below is the chrome output:

    PHP Code:
    Uncaught ErrorNOT_FOUND_ERRDOM Exception 8
    Ext
    .define.moveItem0.5:18
    Ext
    .define.renderItems0.5:18
    Ext
    .define.renderChildren0.5:18
    Ext
    .define.invalidate0.5:18
    Ext
    .define.invalidate0.5:18
    Ext
    .define.invalidate0.5:18
    Ext
    .define.invalidate0.5:18
    Ext
    .define.flushInvalidates0.5:18
    Ext
    .define.run0.5:18
    Ext
    .define.statics.flushLayouts0.5:18
    Ext
    .define.statics.updateLayout0.5:18
    Ext
    .define.updateLayout0.5:18
    Ext
    .define.resumeLayouts0.5:18
    Ext
    .define.setActiveItem0.5:18
    Ext
    .define.setActiveTab0.5:18
    Ext
    .define.onClick0.5:18
    (anonymous function)

    This is becoming a worry now.

Thread Participants: 2