1
Vote

Activation is stuck in an infinite loop

description

Hi again. Hopefully this will be the last message from me on this topic.
 
I downloaded and deployed the latest wsp. I notice that Activation was taking a much a long time to complete. So again, I downloaded and debug the source code and saw that the following exception was being thrown
 
An unhanded exception of type 'System.StackOverflowException' occurred in mscorlib.dll Make sure you do not have an infinite loop or infinite recursion.
 
This occurred with the following line of code in XmlSqlDataMapping.cs
 
Required = field.Attribute("Required") == null ? false : (string)field.Attribute("Required").Value.ToLower() == "true"
 
The same exception occurs at the following line of code in the same file:
return Regex.Replace(name, "[\W\s]", "");
 
Version: v2.0.0

file attachments

comments

brjenkins wrote Dec 16, 2011 at 6:32 PM

Can I see the slam.config used? I have not encountered this issue before.

chelleatl wrote Dec 16, 2011 at 8:02 PM

I attached me slam.config with sensitive information changes for security purposes.

brjenkins wrote Dec 16, 2011 at 9:05 PM

I created a test site with a Projects and Locations list as you have in your slam.config, hit activate, and it creates the appropriate tables as I would expect.

I am not sure yet what would be recursing in activation, though I can't reproduce it.