Forum Discussion
SIERRA_NEVADA_C_1
14 years agoOccasional Contributor
Thanks for the quick response. Unfortunately, this change only kicked the can down the road a bit. Another place was updated between 4.0.1 and 4.0.2 that attempts to use HttpResponse.getEntity() without verifying it exists in HttpMethodSupport (line 269) that also results in an exception in this same scenario.
We see getEntity() is actually used 12 times in 4.0.2, but did not analyze in which it can be reached where it would return null, and a null value would cause a problem. But it appears a precondition on most of the Apache wrappers is for a non-null value to be passed in.
Thanks,
SNC
We see getEntity() is actually used 12 times in 4.0.2, but did not analyze in which it can be reached where it would return null, and a null value would cause a problem. But it appears a precondition on most of the Apache wrappers is for a non-null value to be passed in.
Thanks,
SNC