Exception when parsing empty response.getText()

Exception when parsing empty response.getText(), and the dataType is necessary for the request.