Closed GrahamFirst closed 9 years ago
Strange, I didn't anticipate that chain.proceed()
would ever return null. Are you using any other interceptors?
Nope, it's my own fault. Canceling a request can cause it to return null. Hmm.
We should fix Call#getResponse to throw rather than returning null when a call is canceled. That should fix the problem!
I've experience code based on the LoggingInterceptor recipe crashing with a null pointer exception because chain.proceed() returned null (probably because the call was cancelled).