3 Replies Latest reply on Apr 26, 2010 11:20 AM by ilya_shaikovsky

    RF 3.3.3.Final - after upgrade, 'Unknown runtime error' in IE 7

    csimons

      We're discovering many pages that throw JavaScript errors in IE 7, particularly the following:

       

      'Unknown runtime error'

       

      When attempting to debug in FFX, the error does not even occur.  Therefore it is hard to track down.  However, I've read that other people have experienced this issue in relation to innerHTML functions.  However, it seems to happen particularly on reRenders.

       

      Has anyone been experiencing this issue, particularly after upgrading to the latest release, and, if so, what have you done to resolve the issue?

       

       

      Thanks.

        • 1. Re: RF 3.3.3.Final - after upgrade, 'Unknown runtime error' in IE 7
          ilya_shaikovsky

          you could check two our exampels live and there are no such issues :/ Actually looks like some environment problem. Do you have any third-party client side libraries which used at pages? could you check a4:log output?

          • 2. Re: RF 3.3.3.Final - after upgrade, 'Unknown runtime error' in IE 7
            csimons

            Ilya,

             

            Thanks for your reply.  I added an a4j:log and strangely, the error does not appear in the log, even though IE JS warning is present (Error: Unknown runtime error, code 0).

             

            Of note is that the action performs and the a4j:log shows the <div> RF is trying to add, but it never appears on the screen.

             

            Here are the contents of the log on the a4j:commandLink action:

             

            debug[10:45:34,008]: Have Event  [object Object] with properties: target: undefined, srcElement:  https://localhost:7002/englink/pm/pds/userPreferences/registration/registerCard.seam?cid=24#,  type: click
            debug[10:45:34,039]: Query preparation  for form 'registerCACForm' requested
            debug[10:45:34,071]: Append hidden  control registerCACForm with value [registerCACForm] and value attribute  [registerCACForm]
            debug[10:45:34,086]: Append hidden  control javax.faces.ViewState with value [j_id5] and value attribute  [j_id5]
            debug[10:45:34,102]: parameter  ajaxSingle with value registerCACForm:cmdValidateCard
            debug[10:45:34,133]: parameter  registerCACForm:cmdValidateCard with value registerCACForm:cmdValidateCard
            debug[10:45:34,164]: Look up queue  with default name
            debug[10:45:34,180]: NEW AJAX REQUEST  !!! with form: registerCACForm
            debug[10:45:34,211]: Start  XmlHttpRequest
            debug[10:45:34,258]: Request state :  1
            debug[10:45:34,274]: QueryString:  AJAXREQUEST=_viewRoot&registerCACForm=registerCACForm&javax.faces.ViewState=j_id5&ajaxSingle=registerCACForm%3AcmdValidateCard&registerCACForm%3AcmdValidateCard=registerCACForm%3AcmdValidateCard&
            debug[10:45:34,679]: Request state :  2
            debug[10:45:34,695]: Request state :  3
            debug[10:45:34,711]: Request state :  4
            debug[10:45:34,742]: Request end with  state 4
            debug[10:45:34,757]: Response  with  content-type: text/xml;charset=UTF-8
            debug[10:45:34,773]: Full response  content: <?xml version="1.0"?><html lang="en"  xmlns="http://www.w3.org/1999/xhtml"><head><title></title><link  class="component"  href="/englink/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__"  rel="stylesheet" type="text/css" /><link  href="/englink/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__"  media="rich-extended-skinning" rel="stylesheet" type="text/css" /><link  class="component"  href="/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/css/msg.css"  rel="stylesheet" type="text/css" /><link  href="/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/css/msgs.css"  rel="stylesheet" type="text/css" /><script  src="/englink/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript"  type="text/javascript"></script><script  src="/englink/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.PrototypeScript"  type="text/javascript"></script><script  src="/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/utils.js"  type="text/javascript"></script><script  src="/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/browser_info.js"  type="text/javascript"></script><script  src="/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/modalPanel.js"  type="text/javascript"></script><script  src="/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/modalPanelBorders.js"  type="text/javascript"></script><link  href="/englink/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__"  rel="stylesheet" type="text/css" /><script  src="/englink/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.ImageCacheScript"  type="text/javascript"></script><script  src="/englink/a4j/g/3_3_3.Finalscripts/panelbar.js" type="text/javascript"> </script><link  href="/englink/a4j/s/3_3_3.Finalcss/panelbar.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__"  rel="stylesheet" type="text/css" /><link  href="/englink/a4j/s/3_3_3.Finalcss/table.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__"  rel="stylesheet" type="text/css" /><link  href="/englink/a4j/s/3_3_3.FinalMETA-INF/skins/laguna.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__"  rel="stylesheet" type="text/css" /><script  src="/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/skinning.js"  type="text/javascript"></script><script  src="/englink/a4j/g/3_3_3.Finaljquery.js" type="text/javascript"> </script></head><body><span id="j_id4:j_id14">Mon, Apr  26, 2010 1445Z</span> <span id="opInfoBox"><li>ENGLink has  collected the following information about your CAC.</li> <li>Review  the information below; if it is correct, click the <span  class="info-buton">Register This Card</span>  button.</li></span><span  id="registerCACForm:opCardInformation"><div  id="registerCACForm:fullNameDecorate"><table><tr><td  class="form-td-label" align="left"><span>DN on  Card:</span> <span></span></td><td  class="form-td-input" align="left" colspan="1"><span  class="input"><span id="registerCACForm:fullNameDecorate:certDn"  style="color: Green">INFORMATION REMOVED</span></span></td><td  class="form-td-spacer" align="left"  width="10px">&#160;</td><meta name="Ajax-Update-Ids"  content="j_id4:j_id14,opInfoBox,registerCACForm:opCardInformation,registerCACForm:j_id249"  /><meta id="Ajax-Response" name="Ajax-Response" content="true"  /><meta name="Ajax-Update-Ids"  content="j_id4:j_id14,opInfoBox,registerCACForm:opCardInformation,registerCACForm:j_id249"  /><meta id="Ajax-Response" name="Ajax-Response" content="true"  /></tr></table></div></span></body></html>
            debug[10:45:34,789]: Header  Ajax-Expired not found, search in <meta>
            debug[10:45:34,804]: search for  elements by name 'meta'  in element #document
            debug[10:45:34,820]: Find <meta  name='Ajax-Update-Ids'  content='j_id4:j_id14,opInfoBox,registerCACForm:opCardInformation,registerCACForm:j_id249'>
            debug[10:45:34,851]: Find <meta  name='Ajax-Response' content='true'>
            debug[10:45:34,867]: Find <meta  name='Ajax-Update-Ids'  content='j_id4:j_id14,opInfoBox,registerCACForm:opCardInformation,registerCACForm:j_id249'>
            debug[10:45:34,867]: Find <meta  name='Ajax-Response' content='true'>
            debug[10:45:34,882]: Header  Ajax-Update-Ids not found, search in <meta>
            debug[10:45:34,898]: search for  elements by name 'meta'  in element #document
            debug[10:45:34,914]: Find <meta  name='Ajax-Update-Ids'  content='j_id4:j_id14,opInfoBox,registerCACForm:opCardInformation,registerCACForm:j_id249'>
            debug[10:45:34,929]: Update page by  list of rendered areas from response  j_id4:j_id14,opInfoBox,registerCACForm:opCardInformation,registerCACForm:j_id249
            debug[10:45:34,945]: search for  elements by name 'script'  in element #document
            debug[10:45:34,976]: <script> in  response with  src=/englink/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript
            debug[10:45:34,992]: Such element  exist in document
            debug[10:45:35,023]: <script> in  response with  src=/englink/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.PrototypeScript
            debug[10:45:35,038]: Such element  exist in document
            debug[10:45:35,054]: <script> in  response with  src=/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/utils.js
            debug[10:45:35,070]: Such element  exist in document
            debug[10:45:35,085]: <script> in  response with  src=/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/browser_info.js
            debug[10:45:35,101]: Such element  exist in document
            debug[10:45:35,116]: <script> in  response with  src=/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/modalPanel.js
            debug[10:45:35,132]: Such element  exist in document
            debug[10:45:35,148]: <script> in  response with  src=/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/modalPanelBorders.js
            debug[10:45:35,163]: Such element  exist in document
            debug[10:45:35,179]: <script> in  response with  src=/englink/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.ImageCacheScript
            debug[10:45:35,195]: Such element  exist in document
            debug[10:45:35,226]: <script> in  response with src=/englink/a4j/g/3_3_3.Finalscripts/panelbar.js
            debug[10:45:35,241]: Such element  exist in document
            debug[10:45:35,257]: <script> in  response with  src=/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/scripts/skinning.js
            debug[10:45:35,273]: Such element  exist in document
            debug[10:45:35,288]: <script> in  response with src=/englink/a4j/g/3_3_3.Finaljquery.js
            debug[10:45:35,304]: Such element  exist in document
            debug[10:45:35,319]: search for  elements by name 'link'  in element #document
            debug[10:45:35,335]: <link> in  response with  src=/englink/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__
            debug[10:45:35,351]: Such element  exist in document
            debug[10:45:35,366]: <link> in  response with  src=/englink/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__
            debug[10:45:35,382]: Such element  exist in document
            debug[10:45:35,397]: <link> in  response with  src=/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/css/msg.css
            debug[10:45:35,413]: Such element  exist in document
            debug[10:45:35,429]: <link> in  response with  src=/englink/a4j/g/3_3_3.Finalorg/richfaces/renderkit/html/css/msgs.css
            debug[10:45:35,444]: Such element  exist in document
            debug[10:45:35,460]: <link> in  response with  src=/englink/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__
            debug[10:45:35,475]: Such element  exist in document
            debug[10:45:35,491]: <link> in  response with  src=/englink/a4j/s/3_3_3.Finalcss/panelbar.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__
            debug[10:45:35,507]: Such element  exist in document
            debug[10:45:35,522]: <link> in  response with  src=/englink/a4j/s/3_3_3.Finalcss/table.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__
            debug[10:45:35,569]: Such element  exist in document
            debug[10:45:35,585]: <link> in  response with  src=/englink/a4j/s/3_3_3.FinalMETA-INF/skins/laguna.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__
            debug[10:45:35,600]: Such element  exist in document
            debug[10:45:35,616]: call  selectSingleNode for id= org.ajax4jsf.queue_script
            debug[10:45:35,663]: Update page part  from call parameter for ID j_id4:j_id14
            debug[10:45:35,678]: call  selectSingleNode for id= j_id4:j_id14
            debug[10:45:35,710]: Replace content  of node by outerHTML()
            debug[10:45:35,725]: search for  elements by name 'script'  in element span
            debug[10:45:35,741]: Scripts in  updated part count : 0
            debug[10:45:35,756]: Update part of  page for Id: j_id4:j_id14 successful
            debug[10:45:35,772]: Update page part  from call parameter for ID opInfoBox
            debug[10:45:35,788]: call  selectSingleNode for id= opInfoBox
            debug[10:45:35,803]: Replace content  of node by outerHTML()
            debug[10:45:35,819]: search for  elements by name 'script'  in element span
            debug[10:45:35,835]: Scripts in  updated part count : 0
            debug[10:45:35,850]: Update part of  page for Id: opInfoBox successful
            debug[10:45:35,850]: Update page part  from call parameter for ID registerCACForm:opCardInformation
            debug[10:45:35,866]: call  selectSingleNode for id= registerCACForm:opCardInformation
            debug[10:45:35,881]: Replace content  of node by outerHTML()
            • 3. Re: RF 3.3.3.Final - after upgrade, 'Unknown runtime error' in IE 7
              ilya_shaikovsky

              yes, from first look - seems fine, please add also page sources.