Uncaught exception thrown when grid accessed in Firefox

3 replies. Last post: August 1, 2011 1:56 AM by Riendy Setiadi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
We are trying to add support for non-IE browsers to our application, but when we open a page in Firefox 5.0 with WebGrid version 7.0.7200.430 on it, the following uncaught exception is thrown in IEMozBridge.js:Error: uncaught exception: [Exception... "The container of an boundary-point of a range is being set to either a node of an invalid type or a node with an ancestor of an invalid type." code: "2" nsresult: "0x805c0002 (NS_ERROR_DOM_RANGE_INVALID_NODE_TYPE_ERR)" location: "http://localhost/EncompassWebLayer/ISRes.axd?F/IEMozBridge.js/305000771 Line: 7"]

This uncaught exception derails the remaining javascript on the page, rendering the page unusable in Firefox.

Using the non-embedded version of the script, we tracked the issue down to the following line of code:

vb2782.setStartBefore(this);

In order to fix this problem, we changed the following 3 lines of code from:

vb2782.setStartBefore(this);
var v16a1 =vb2782.createContextualFragment(v8c099);
this.parentNode.replaceChild(v16a1,this);

to:

try {vb2782.setStartBefore(this);} catch(ex) {};
var v16a1 =vb2782.createContextualFragment(v8c099);
if (this.parentNode) {this.parentNode.replaceChild(v16a1,this)};

Can this fix please be included in the next release?
All times are GMT -5. The time now is 3:37 AM.
Previous Next