Cory, I am going to be more than happy to debug this. It would help if you could:
-> create a simple solution that reproduces the problem. Don't worry about UI, i can edit the code for my username/pwd combo. -> zip it, enter a bug in the issue list and attach it. I will work on that right away. It's hopefully a simple issue. If so, I will submit a patch to Subversion as soon as i found/solved it. Frank Mantek On 1/9/07, Cory Albrecht <[EMAIL PROTECTED]> wrote: > > Hello, > > I've gotten to the point in my PocketPC app where I'm trying to delete > items from GCal when checking shows that the appointment was deleted from > the PocketPC. > > On http://code.google.com/apis/gdata/client-cs.html it says to just do " > entryUpdate.Delete()", so I tried that, and it throws a > NullReferenceException: > > System.NullReferenceException was unhandled > Message="NullReferenceException" > StackTrace: > at System.Net.HttpWebRequest.startSending() > at System.Net.HttpWebRequest.startReceiving() > at System.Net.Connection.startReceiving() > at WorkItem.doWork() > at System.Threading.Timer.ring () > > And then, when I clicked away the VS2K5 debugger's exception pop up, a > dialog box came up saying "No symbols are loaded for any call stack frame. > The source code cannot be displayed." Normally, when you try to continue in > VS2K5 after an unhandled exception it just bumps you back up a level in the > call stack and re-alerts you to the unhandled exception, but not after this. > I had to end the debugging session as the VS2K5 debugger could not continue, > though it didn't crash VS2K5. > > I tried using the CalendarService object's Delete() method, but that did > exactly the same thing. :-( > > Anybody know what is causing this or how I can get past it? > > Development environment is Visual Studio 2005 Pro on WinXP, and this is a > C#/.NET application for Windows Mobile PocketPC 2003 edition. The mobile > unit is a Dell Axim x50v running Windows Mobile PocketPC 2003SE, with the > A05 ROM update from Dell. > > The code which throws the exception is basically the bits from the > Calendar.c sample in RefreshFeed() that iterates through all entries in a > specific feed, with my inner-most loop determining what synchronization > action needs to be done (save, update here or there, delete, etc...). The > EventEntry object is not modified before entry.Delete() is called, though > entry.Id.AbsoluteUri is accessed to look up the correlation to the local > PocketOutlook item OID. > > Please let me know if seeing my code will help. > > Thanks in advance for any help. > > -- > Cory C. Albrecht > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
