This blog has moved, permanently, to http://software.safish.com.

Friday, February 26, 2010

NServiceBus error "Parameter name: meth"

It's been a while since I used NServiceBus and I got this annoyingly cryptic error message this morning:

Value cannot be null.
Parameter name: meth


I finally found this post about it and it's actually a fairly obvious mistake - I had added property without a setter on one of the objects that needed to be serialized as part of my message. The error message was unfortunately cryptic enough for me to take a while to find it. I thought I'd post this on here for my own future reference.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.