“Value cannot be null” when passing null arguments to SignalR client-side proxy
问题 Using SignalR (v2.0.2) I'm getting this exception: Value cannot be null. Parameter name: o at Newtonsoft.Json.Utilities.ValidationUtils.ArgumentNotNull(Object value, String parameterName) at Newtonsoft.Json.Linq.JToken.FromObjectInternal(Object o, JsonSerializer jsonSerializer) at Newtonsoft.Json.Linq.JToken.FromObject(Object o, JsonSerializer jsonSerializer) at Microsoft.AspNet.SignalR.Client.Hubs.HubProxy.Invoke[T](String method, Object[] args) I'm calling the HubProxy with reflection, and