Announcement

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

    “NOT_FOUND_ERR: DOM Exception 8” in Chrome in latest SC 8.3 Pro Build

    Hi,

    when clicking on the button “Open window” in the attached example, I´m getting in Chrome the follwing error: “NOT_FOUND_ERR: DOM Exception 8”. This error does not occur in IE or Firefox.

    How can I avoid this error?

    Greetings Thomas

    Code:
     
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
     <HEAD>
      <SCRIPT>var isomorphicDir="/isomorphic/";</SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_Core.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_Containers.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_Drawing.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_Grids.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_Forms.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/system/modules/ISC_RichTextEditor.js></SCRIPT>
      <SCRIPT SRC=/isomorphic/skins/Enterprise/load_skin.js></SCRIPT>
     </HEAD>
    <BODY>
    <SCRIPT>
    function createWindow() {
    	isc.Window.create(
    	 {
    	  "ID":"window",
    	  "width":350,
    	  "autoDraw":true,
    	  "defaultHeight":1,
    	  "leaveScrollbarGap":false,
    	  "autoSize":true,
    	  "autoCenter":true,
    	  "isModal":true,
    	  "items":
    	  [ isc.DynamicForm.create(
    		{
    		 "ID":"downloadReportForm",
    		 "numCols":2,
    		 "titleSuffix":"",
    		 "autoFocus":true,
    		 "selectOnFocus":true,
    		 "itemHoverDelay":1500,
    		 "fields":
    		 [
    		  {
    		   "ID":"downloadInformationStaticText",
    		   "name":"downloadInformationStaticText",
    		   "type":"staticText",
    		   "colSpan":2,
    		   "showTitle":false,
    		   "width":345
    		  },
    		  {
    		   "ID":"downloadHtmlFlow",
    		   "name":"downloadHtmlFlow",
    		   "type":"LinkItem",
    		   "showTitle":false,
    		   "linkTitle":"Download report"
    		  },
    		  {
    		   "ID":"changeStatusStaticText",
    		   "name":"changeStatusStaticText",
    		   "type":"staticText",
    		   "colSpan":2,
    		   "showTitle":false,
    		   "width":390
    		  },
    		  {
    		   "type":"toolbar",
    		   "width":200,
    		   "buttons":
    		   [
    			{
    			 "ID":"OKButton",
    			 "name":"OKButton",
    			 "title":"OK",
    			 "type":"button",
    			 "width":194
    			},
    			{
    			 "ID":"cancelButton_5",
    			 "name":"cancelButton_5",
    			 "title":"Cancel",
    			 "type":"button",
    			 "width":194,
    			 "accessKey":"c"
    			}
    		   ]
    		  }
    		 ],
    		 "values":
    		 {
    		 }
    		}
    		)
    	  ],
    	  "showMinimizeButton":false,
    	  "members":
    	  []
    	 }
    	 );
    }
     
    isc.Button.create({
        title: "Open window",
        width: 120,
        left: 60,
        top: 45,
        click : createWindow
    });
    </SCRIPT>
    </BODY>
    </HTML>

    #2
    Hi Isomorphic,

    Is there anything new to this issue?

    Regards Thomas

    Comment


      #3
      Hi Thomas,

      Start by filling in the rest of the requirement information: exact versions, Developer Console contents, etc.

      Comment


        #4
        A quick follow up to let you know we are reproducing this issue and are investigating. However first impressions indicate this may be a native Chrome bug so may take some time to fully identify and work around.

        We'll let you know when we have more information

        Regards
        Isomorphic Software

        Comment


          #5
          Hi,

          Browser: Chrome version: 22.0.1229.94 m
          SmartClient version: SmartClient_v83d_2012-10-23

          Developer Console contents:
          Code:
          18:55:04.334:INFO:Log:initialized
          18:55:04.952:INFO:Log:isc.Page is loaded
          18:55:07.151:IBLR0:WARN:Log:Error: NOT_FOUND_ERR: DOM Exception 8
          Stack from error.stack:
              LinkItem.setElementValue()
              FormItem._setElementValue()
              FormItem.setValue()
              [a]MathFunction.invokeSuper()
              TextItem.setValue()
              FormItem.clearValue()
              DynamicForm.setItemValues()
              DynamicForm._delayedSetValues()
              DynamicForm._delayedSetValuesFocus()
              [c]Page.handleEvent()
          What else do you need?

          The best will be, you run my example in Chrome and you will bump in the error.

          Greetings

          Thomas

          Comment


            #6
            We've spent some time investigating the issue and are indeed reproducing it.
            It looks like some kind of Chrome-specific native timing bug to do with attempting to put focus into a DOM element in the same thread as it has been modified.
            We've come up with a workaround (though the underlying cause is still a bit of a mystery), which we've checked into the framework.

            Please try the next nightly build (8.3d branch) and let us know if this problem persists for you

            Thanks
            Isomorphic Software

            Comment


              #7
              Is this resolved in smartgwt 3.0 power version as well?

              We are also seeing this, and are currently using 3.0 power version,

              1. SmartClient Version: v8.2p_2012-12-27/PowerEdition Deployment (built 2012-12-27)

              2. browser(s) and version(s) involved: Chrome (only occurs in Chrome ).

              Comment


                #8
                No, not resolved in that branch, although Chrome itself may end up being updated to fix the issue. In the meantime, an upgrade is recommended regardless if you are doing any new development.

                Comment


                  #9
                  Hi,
                  are there news about the issue?
                  We still got problems with this bug. It occurs at least ten times a day.
                  We're currently using "v8.3p_2012-12-12/Pro Deployment"

                  Comment


                    #10
                    As noted in the post dated Oct 24, we applied a workaround to the 8.3 branch which we believed resolved the issue.

                    As a sanity check, please try the latest nightly build from the 8.3p branch (or the 3.1p branch if you're working on SGWT).
                    If the issue persists there, please show us sample code to reproduce - this would imply our workaround missed a case.

                    Thanks
                    Isomorphic Software

                    Comment

                    Working...
                    X