divyang4481 / xstream-dot-net

Automatically exported from code.google.com/p/xstream-dot-net
1 stars 1 forks source link

Serializing an Exception results in a StackOverflowException #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When you serialize an exception as part of another object through XStream, it 
causes a StackOverflowException.

This may be particular to the type of project I'm using. I have not tried it 
in other types. I'm using a WebSite .net 3.5 project.

This is undesirable for using XStream for exception handing. I have to 
ToString the exception to hand diagnostic information back. The java library 
does not have this limitation, and the .net soap serializer is able to 
serialize exceptions as well.

Original issue reported on code.google.com by cgoudien...@gmail.com on 8 Oct 2009 at 4:49

GoogleCodeExporter commented 9 years ago
I also get a StackOverflowException when serializing a FileInfo class

Original comment by richard...@gmail.com on 28 Jan 2011 at 3:38