This project has moved. For the latest updates, please go here.


Automapper threw stackoverflow exception


I have a class like this:
public class Category
public int CategoryID { get; set; }
public string Name { get; set; }
public Category Parent { get; set; }
public IList<Category> Children { get; set; }
And because of this Parent/Children relationship the conversion DTO/POCO threw a stackoverflow exception.
Have you any troubleshooting in this case?
Closed Sep 13, 2009 at 7:30 PM by jbogard
Could not reproduce, need the full example.


jbogard wrote Aug 16, 2009 at 1:32 AM


Can you provide an example using Mapper.Map, with the source/destination types?

wrote Sep 13, 2009 at 7:30 PM

wrote Feb 22, 2013 at 1:49 AM

wrote May 16, 2013 at 12:59 PM