Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Reason must not be null. #424

Open
GoogleCodeExporter opened this issue Apr 30, 2015 · 1 comment
Open

Internal Reason must not be null. #424

GoogleCodeExporter opened this issue Apr 30, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. try to get the acl feed of a permanently deleted document

What is the expected output? What do you see instead?
expected: com.google.gdata.util.ResourceNotFoundException thrown
actual: java.lang.NullPointerException thrown

I get this xml:
<errors 
xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>Reso
urceNotFoundException</code><internalReason/></error></errors>

The internal reason in the response xml: <internalReason/>
This causes that the com.google.gdata.util.ErrorElement.setInternalReason 
method gets a null value which results a null pointer exception in the line 170 
Preconditions.checkNotNull(internalReason, "Internal Reason must not be null.");

What version of the product are you using? On what operating system?
gdata library version 1.47.1

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 25 Jan 2013 at 4:46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant