Check for null in HTTPRequestAdapter.