This project is read-only.

I have a "stack overflow" with nRefactory

Apr 19, 2011 at 4:52 PM

Hi !

I tried to serialize a compilation unit (equivalent to CodeDOM) with NRefactory (from SharpDevelop 4), but an exception occurs: stack overflow.
( maybe a circular reference)

If you want to reproduce the problem, download the sources of SharpDevelop:

Then open the NRefactoryDemo project, and try to serialize "astView.Unit".

It may be a good test to check the stability of sharpSerializer, by the way.  ;)


Apr 30, 2011 at 4:49 PM

The current 2.7 version of sharpserializer can lead to stackoverflows when handling recursive datastructures .

I have created a fork at
that handels recursion in binary and xml. Until this fork is merged with the main sharpserializer you have to download and compile
the source yourself.

May 11, 2011 at 4:22 PM

With current Version 2.9 it should work

May 13, 2011 at 9:38 AM

Thank you for the information, I will try it.