LPS-37298 Check whether the response object is available when getting the View URL from the factory just like it is already being done for the renderer