Sunday, March 11, 2012

Debugging Deserialization -- Getting a null reference exception in System.Web.Script.Seria

Ok, after much guessing, this has turned out to be an issue w/ my TypeResolver. If anyone from Microsoft sees this, could you update Line 123 of ObjectConverter.cs to throw a more informative exception? Maybe something like:

throw new InvalidOperationException("Could not resolve the type: \""+serverTypeName+"\"");

No comments:

Post a Comment