In production, we are seeing an occasional
Object reference not set... exception (say one in a few thousand) in our custom wrapped
JsonServiceClient.Get() call, that appears to be caused (not confirmed yet) by receiving a
null response from a ServiceStack service GET request.
Is receiving a
null response from a ServiceStack service call even possible?
Maybe we are screwing up something in our
JsonServiceClient wrapper since we are doing custom client caching there using the
ResultsFilterResponse, and sometimes those properties are assigned
null? Possible cause?
Have no idea, need a repro to be able to identify the issue.
ServiceStack Services can return an empty Response Body if they want, but I doubt that's the issue here.