Since upgrading from 2011.2.2125 to 2011.2.2159 we have been getting "out of stack space" errors when clicking on an item in a webdatamenu. We have even taken out all the code from the client side click event and it still occurs.
The error is in ScriptResource.axd, in the call to _validateParams.
Type.prototype.inheritsFrom = function Type$inheritsFrom(parentType) { /// <summary locid="M:J#Type.inheritsFrom" /> /// <param name="parentType" type="Type"></param> /// <returns type="Boolean"></returns> var e = Function._validateParams(arguments, [ {name: "parentType", type: Type} ]); if (e) throw e; this.resolveInheritance(); var baseType = this.__baseType; while (baseType) { if (baseType === parentType) { return true; } baseType = baseType.__baseType; } return false;}
The call Stack keeps repeating as follows:
Type$inheritsFrom JScript Sys$_isInstanceOfType JScript Function$_validateParameterType JScript Function$_validateParameter JScript Function$_validateParams JScript Type$inheritsFrom JScript Sys$_isInstanceOfType JScript Function$_validateParameterType JScript Function$_validateParameter JScript Function$_validateParams JScript Type$inheritsFrom JScript Sys$_isInstanceOfType JScript Function$_validateParameterType JScript Function$_validateParameter JScript Function$_validateParams JScript Type$inheritsFrom JScript Sys$_isInstanceOfType JScript Function$_validateParameterType JScript Function$_validateParameter JScript Function$_validateParams JScript
Any ideas?
Confirmed in Ie8 and ie9 with subtle differences.
Dear JJB
Thank you for contacting Infragistics!
We received your support request concerning "out of stack space" errors when clicking on an item in a webdatamenu, and this case has been assigned to me. Infragistics is dedicated to helping you solve this issue.
I am looking into this issue and will get back to you by the end of the day Wednesday with more information or questions for you.
Just to add that we have tested with 2012.1. (which we do not want to move to, due to the massive amount of redevelopment work required to move to 2011) However this version did fix the problem. It did however introduce other bugs which a quick search revealed to have been fixed in 12.1.20121.2072. On installing this version however, the original problem with "out of stack space" has returned!!!
We therefore eagerly await your dedication to helping solve this issue.
Hello JJB,
I followed the steps you suggested and was unable to reproduce the behavior you're describing. I have tested with 11.2.20112.2159 and 12.1.20121.2072. I am not getting any kind of error when I click on the WebDataMenu items.
Can you please provide me the markup of the webdatamenu? I believe using the same markup will help me to reproduce this issue.
I have attached the project that I used to test this issue for the reference.
Please let me know if you have any further questions regarding this matter.
I don't think providing the markup will help as you have demonstrated that the problem does not occur in a simple sample application. Our application that is failing contains numerous frames and user controls so isolating a sample to reproduce the problem will be very time consuming and difficult. We have also found further problems and errors attempting to use Infragistics 12.1 (unhandled exceptions etc) that do not occur in 11.2.
As our application has currently been made to work with 2011.2.2125, we will have to stick with that for the time being.
Hopefully there will be a more satisfactory solution in the near future.
I have discussed this with Development team and the stack trace you have provided does not show any of our JavaScript functions, so that it difficult to find out where this error is coming from. Without sample code it is hard for us to determine the cause of this issue.
Please let me know if I can provide any further assistance regarding this matter.