check quota object presence before accessing it
When the quot information is missing in the server response, accessing it will cause an null pointer exception. So we check for the presence of a quota object within the server response and, if not present, we set a new quota that reflects the fact that the quota limit is not available for this user.
Loading
Please register or sign in to comment