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

Incorrect exception thrown #3

Closed
GoogleCodeExporter opened this issue May 25, 2015 · 3 comments
Closed

Incorrect exception thrown #3

GoogleCodeExporter opened this issue May 25, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Set the user credentials to be null or empty for the username and pass 
in a password on the service.
2. Try and insert a new album
3. Object reference exception thrown

What is the expected output? What do you see instead?
I would expect to see an invalid credentials exception.  Instead I get 
this:
System.NullReferenceException was caught
  Message="Object reference not set to an instance of an object."
  Source="Google.GData.Client"
  StackTrace:
       at Google.GData.Client.Utilities.UriEncodeReserved(String content)
       at Google.GData.Client.GDataGAuthRequest.QueryAuthToken
(GDataCredentials gc)
       at Google.GData.Client.GDataGAuthRequest.EnsureCredentials()
       at Google.GData.Client.GDataRequest.EnsureWebRequest()
       at Google.GData.Client.GDataGAuthRequest.CopyRequestData()
       at Google.GData.Client.GDataGAuthRequest.Execute(Int32 iRetrying)
       at Google.GData.Client.GDataGAuthRequest.Execute()
       at Google.GData.Client.Service.StreamInsert(Uri feedUri, AtomBase 
baseEntry, GDataRequestType type)
       at Google.GData.Client.Service.StreamInsert(Uri feedUri, AtomEntry 
newEntry)
       at Google.GData.Client.Service.Insert(Uri feedUri, AtomEntry 
newEntry)

What version of the product are you using? On what operating system?
The latest version, Vista Ultimate 64.

Please provide any additional information below.
I'm not absolutely positive of what produced the invalid exception, but 
this is what I had discovered.  I should have checked for those things 
first, but was surprised when I got the object reference exception.

Original issue reported on code.google.com by balcom...@hotmail.com on 7 Feb 2008 at 3:23

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I got this on the wrong project - sorry!  It has now been put in to the right 
project.  Delete this at your leisure.

Original comment by balcom...@hotmail.com on 7 Feb 2008 at 3:26

@GoogleCodeExporter
Copy link
Author

Original comment by gregrobbins on 7 Feb 2008 at 6:33

  • Changed state: Invalid
  • Removed labels: Priority-Medium, Type-Defect

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