Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ID collisions

    SmartClient Version: v9.1p_2014-05-07/PowerEdition Deployment (built 2014-05-07)
    GWT 2.6.0
    IE-11

    We are getting Javascript ID collisions and parts of our UI disappear when this happens. I have set this option in our HTML load file:
    Code:
    <script> var isomorphicDir = "com.anstca.tz.Main/sc/"; </script>
            <script> window.isc_useSimpleNames = false </script>
            
            <script type="text/javascript">document.getElementById('loadingMsg').innerHTML = 'Loading Core API...';</script>
    	    <script src='com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js'></script>
            <script src='com.anstca.tz.Main/sc/modules/ISC_Foundation.js?isc_version=9.1.js'></script>
    	    <script src='com.anstca.tz.Main/sc/modules/ISC_Containers.js?isc_version=9.1.js'></script>
    	    <script src='com.anstca.tz.Main/sc/modules/ISC_Grids.js?isc_version=9.1.js'></script>
    	    <script src='com.anstca.tz.Main/sc/modules/ISC_Forms.js?isc_version=9.1.js'></script>
    	    <script src='com.anstca.tz.Main/sc/modules/ISC_RichTextEditor.js?isc_version=9.1.js'></script>
            <script src='com.anstca.tz.Main/sc/modules/ISC_DataBinding.js?isc_version=9.1.js'></script>
    	    <script src='com.anstca.tz.Main/sc/modules/ISC_Calendar.js?isc_version=9.1.js'></script>
    Here is the dev console log:
    Code:
    12:38:12.991:INFO:Log:initialized
    12:38:14.308:INFO:Log:isc.Page is loaded
    12:39:45.085:MDN5:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:39:45.087:MDN5:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_4' for object '[ListGrid ID:isc_ListGrid_4]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_4]'. The pre-existing widget will be destroyed.
    12:39:59.224:MDN8:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:39:59.226:MDN8:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_2' for object '[ListGrid ID:isc_ListGrid_2]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_2]'. The pre-existing widget will be destroyed.
    12:40:00.544:MOU9:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:40:00.545:MOU9:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_2' for object '[ListGrid ID:isc_ListGrid_2]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_2]'. The pre-existing widget will be destroyed.
    12:40:01.657:MDN3:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:40:01.659:MDN3:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_3' for object '[ListGrid ID:isc_ListGrid_3]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_3]'. The pre-existing widget will be destroyed.
    12:40:01.673:MMV4[E]:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:40:01.674:MMV4[E]:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_2' for object '[ListGrid ID:isc_ListGrid_2]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_2]'. The pre-existing widget will be destroyed.
    12:40:02.931:MOU3:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:40:02.933:MOU3:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_2' for object '[ListGrid ID:isc_ListGrid_2]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_2]'. The pre-existing widget will be destroyed.
    12:40:03.579:MOU3:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:40:03.580:MOU3:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_2' for object '[ListGrid ID:isc_ListGrid_2]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_2]'. The pre-existing widget will be destroyed.
    12:40:04.203:MOU3:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:40:04.205:MOU3:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_2' for object '[ListGrid ID:isc_ListGrid_2]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_2]'. The pre-existing widget will be destroyed.
    12:40:07.474:MOU3:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:40:07.475:MOU3:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_3' for object '[ListGrid ID:isc_ListGrid_3]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_3]'. The pre-existing widget will be destroyed.
    12:43:16.142:MDN9:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:43:16.146:MDN9:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_0' for object '[ListGrid ID:isc_ListGrid_0]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_0]'. The pre-existing widget will be destroyed.
    12:43:17.318:MOU2:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:43:17.323:MOU2:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_0' for object '[ListGrid ID:isc_ListGrid_0]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_0]'. The pre-existing widget will be destroyed.
    12:43:18.695:MUP2:WARN:Log:TypeError: Function expected
    Stack from error.stack:
        Arra.map () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:430:267
        Canvas.zIndexChanged () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:343
        Canvas.setZIndex () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:1
        Canvas.bringToFront () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:626
        Window.mouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Containers.js?isc_version=9.1.js:66:125
        Canvas.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2444:284
        EventHandler.bubbleEvent () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1380:128
        EventHandler._handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1241:275
        EventHandler.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1236:31
        EventHandler.dispatch () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1453:145
    
    12:43:19.498:MDN7:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:43:19.502:MDN7:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_1' for object '[ListGrid ID:isc_ListGrid_1]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_1]'. The pre-existing widget will be destroyed.
    12:43:20.416:MOU8:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:43:20.422:MOU8:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_1' for object '[ListGrid ID:isc_ListGrid_1]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_1]'. The pre-existing widget will be destroyed.
    12:43:21.928:MUP4:WARN:Log:TypeError: Function expected
    Stack from error.stack:
        Arra.map () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:430:267
        Canvas.zIndexChanged () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:343
        Canvas.setZIndex () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:1
        Canvas.bringToFront () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:626
        Window.mouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Containers.js?isc_version=9.1.js:66:125
        Canvas.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2444:284
        EventHandler.bubbleEvent () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1380:128
        EventHandler._handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1241:275
        EventHandler.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1236:31
        EventHandler.dispatch () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1453:145
    
    12:43:22.592:MUP9:WARN:Log:TypeError: Function expected
    Stack from error.stack:
        Arra.map () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:430:267
        Canvas.zIndexChanged () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:343
        Canvas.setZIndex () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:1
        Canvas.bringToFront () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:626
        Window.mouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Containers.js?isc_version=9.1.js:66:125
        Canvas.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2444:284
        EventHandler.bubbleEvent () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1380:128
        EventHandler._handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1241:275
        EventHandler.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1236:31
        EventHandler.dispatch () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1453:145
    
    12:43:24.191:MUP9:WARN:Log:TypeError: Function expected
    Stack from error.stack:
        Arra.map () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:430:267
        Canvas.zIndexChanged () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:343
        Canvas.setZIndex () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:1
        Canvas.bringToFront () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:626
        Window.mouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Containers.js?isc_version=9.1.js:66:125
        Canvas.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2444:284
        EventHandler.bubbleEvent () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1380:128
        EventHandler._handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1241:275
        EventHandler.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1236:31
        EventHandler.dispatch () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1453:145
    
    12:43:25.321:MUP4:WARN:Log:TypeError: Function expected
    Stack from error.stack:
        Arra.map () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:430:267
        Canvas.zIndexChanged () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:343
        Canvas.setZIndex () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:1
        Canvas.bringToFront () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:626
        Window.mouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Containers.js?isc_version=9.1.js:66:125
        Canvas.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2444:284
        EventHandler.bubbleEvent () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1380:128
        EventHandler._handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1241:275
        EventHandler.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1236:31
        EventHandler.dispatch () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1453:145
    
    12:43:26.571:MUP2:WARN:Log:TypeError: Function expected
    Stack from error.stack:
        Arra.map () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:430:267
        Canvas.zIndexChanged () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:343
        Canvas.setZIndex () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:1
        Canvas.bringToFront () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:626
        Window.mouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Containers.js?isc_version=9.1.js:66:125
        Canvas.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2444:284
        EventHandler.bubbleEvent () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1380:128
        EventHandler._handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1241:275
        EventHandler.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1236:31
        EventHandler.dispatch () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1453:145
    
    12:43:27.493:MDN1:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:43:27.498:MDN1:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_2' for object '[ListGrid ID:isc_ListGrid_2]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_2]'. The pre-existing widget will be destroyed.
    12:43:28.661:MOU2:WARN:Log:Instantiating in SGWT a properties object from the SmartClient side may lead to undefined behavior if the SmartClient Framework is expecting to perform the instantiation itself.
    12:43:28.665:MOU2:WARN:Log:ClassFactory.addGlobalID: ID:'isc_ListGrid_2' for object '[ListGrid ID:isc_ListGrid_2]' collides with ID of existing object '[ListGrid ID:isc_ListGrid_2]'. The pre-existing widget will be destroyed.
    12:43:29.570:MUP0:WARN:Log:TypeError: Function expected
    Stack from error.stack:
        Arra.map () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:430:267
        Canvas.zIndexChanged () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:343
        Canvas.setZIndex () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:1
        Canvas.bringToFront () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:626
        Window.mouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Containers.js?isc_version=9.1.js:66:125
        Canvas.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2444:284
        EventHandler.bubbleEvent () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1380:128
        EventHandler._handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1241:275
        EventHandler.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1236:31
        EventHandler.dispatch () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1453:145
    
    12:43:30.611:MUP7:WARN:Log:TypeError: Function expected
    Stack from error.stack:
        Arra.map () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:430:267
        Canvas.zIndexChanged () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:343
        Canvas.setZIndex () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:1
        Canvas.bringToFront () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2418:626
        Window.mouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Containers.js?isc_version=9.1.js:66:125
        Canvas.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:2444:284
        EventHandler.bubbleEvent () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1380:128
        EventHandler._handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1241:275
        EventHandler.handleMouseUp () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1236:31
        EventHandler.dispatch () @ com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js:1453:145
    And here are the console output:
    Code:
    Uncaught JavaScript exception [Expected ']'] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 73
    Uncaught JavaScript exception [Expected identifier] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 73
    Uncaught JavaScript exception [Expected identifier] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 73
    Uncaught JavaScript exception [Function expected] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 430
    Uncaught JavaScript exception [Expected identifier] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 73
    Uncaught JavaScript exception [Expected identifier] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 73
    Uncaught JavaScript exception [Expected ']'] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 73
    Uncaught JavaScript exception [Function expected] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 1453
    Uncaught JavaScript exception [Function expected] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 1453
    Uncaught JavaScript exception [Function expected] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 1453
    Uncaught JavaScript exception [Function expected] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 1453
    Uncaught JavaScript exception [Function expected] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 1453
    Uncaught JavaScript exception [Function expected] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 1453
    Uncaught JavaScript exception [Function expected] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 1453
    Uncaught JavaScript exception [Function expected] in http://127.0.0.1:8080/tzw/com.anstca.tz.Main/sc/modules/ISC_Core.js?isc_version=9.1.js, line 1453
    What is the cause of this? I can't seem to get this to happen consistently.
    Last edited by JLivermore; 19 Jun 2014, 10:55.

    #2
    Any update?

    Comment


      #3
      We don't have any insight into the cause of this without more information.
      Basically the warning is saying that you've got multiple components being defined with the same ID specified (and IDs have to be globally unique).
      The subsequent errors are likely a result of the fact that if we do see ID collisions, we automatically destroy the pre-existing widget when creating the new widget with the same ID.

      This would happen if your application code is actually creating multiple components and assigning the same ID to each of them. So auditing your code for calls to "setID" and verifying that you aren't explicitly specifying colliding IDs is a good first step.

      If this doesn't appear to be the case in your application code, we'll have to see a way to reproduce the problem to comment further, so we'd recommend you put together a test case we can run to reproduce the problem.

      Regards
      Isomorphic Software

      Comment


        #4
        We don't set any IDs explicitly in the SGWT classes by way of Canvas.setID(), we let the framework do that for us. This has happened to us twice now with no way (yet) of reproducing it.

        If we find a way of reproducing the ID collisions, I will post a test case.

        Basically when this state is triggered, anything we click on will disappear and the whole app freezes. We've seen this twice now, and we were lucky one time this happened was in a development setup so we caught the logs posted above.
        Last edited by JLivermore; 23 Jun 2014, 05:02.

        Comment


          #5
          Hi, @JLivermore, were you able to diagnose the colliding ID problem?
          We've hit this situation and it is very frustrating as it is not easily reproducible, and at the same time - a clear blocker.

          Please comment if you have any advice for us!

          Comment


            #6
            What version of SmartGWT and GWT are you on?

            We have not been able to reproduce this, but this is a very serious showstopper for us as well. It does not happen very often, and when it does, there is nothing to do because we cannot reproduce this consistently.

            It does not happen very often, but when it does, it's pretty embarrassing.

            Comment


              #7
              Originally posted by JLivermore View Post
              What version of SmartGWT and GWT are you on?
              We are reproducing this with various combinations: 2.5.1/3.1p up to 2.6.1/4.1p
              We are not setting ID's manually ... but we do call markForDestroy() here and there because there are leaks. At this point I think this has to do with an unnecessarily markForDestroy() call somewhere.

              Edit: We are using LGPL and the problem is only in IE11.
              Last edited by ispasov; 7 Oct 2014, 06:14.

              Comment


                #8
                We are on SmartGWT 4.1 Power and we target IE-11 specifically. This problem happens in our production environment only once on the SmartGWT 4.1 release. We saw it happen on SmartGWT 2.x in our production environment a number of times in 1 specific area of our UI. But we were not able to reproduce it successfully in our development environment.

                So far on SmartGWT 4.1 we have only seen this happen once so far. And even in our Production environment, we were not able to reproduce it.

                It sounds like you are in a bad spot. Can you reproduce it successfully in a test case? If so you should post the test case on this forum.

                Comment


                  #9
                  I'm not sure if it's the same collision-type as you have, but I also have collisions with automatic-Ids and I created a testcase for this here: http://forums.smartclient.com/showthread.php?t=31403 Are you getting similar collisions?

                  Comment


                    #10
                    Do you have UI components dissappearing? I'm not sure if your issue is the same.

                    Comment


                      #11
                      Originally posted by JLivermore View Post
                      Do you have UI components dissappearing? I'm not sure if your issue is the same.
                      Components are dissappearing and the whole app locks - every new click produces a large number of "collisions" in the log until it stops completely :(

                      We are not able to isolate a test case. Even the complete application does not have a clear steps-to-reproduce scenario, but there is something else that we find really frustrating : if the UI locks for one user, there is a high probability that another user (not all other users) will experience the same shortly. This suggests server-side issue, but all other browsers are immune!

                      Comment


                        #12
                        We had a server side lockup issue where the entire server was thread-locked. This was related with Dynamic Data sources. SmartGWT provided us a patch that was in the nightly builds. I would get the latest from the nightly builds on the versions you are on, if I remember correctly, they applied that patch on all of their supported branches.

                        But it sounds like you have several issues.
                        Last edited by JLivermore; 7 Oct 2014, 14:08.

                        Comment


                          #13
                          JLivermore, see this thread. I think it may be the root cause for the collision loop issue:

                          http://forums.smartclient.com/showthread.php?t=30683
                          Last edited by ispasov; 15 Oct 2014, 02:11.

                          Comment

                          Working...
                          X