Test to see also if deleterURL is valid (not null).
On Thu, Mar 12, 2009 at 2:11 AM, Energy Aware <[email protected]> wrote:
> Hi I am trying to delete a particular event from a calendar,.Can any one
> help me in doing so, I am using the following code
>
> CalendarService redService = new CalendarService("testCalendar");
> redService.setUserCredentials("[email protected]", "password");
> URL deleteUrl = new URL(entry.getEditLink().getHref());
> System.out.println("URL ::: "+deleteUrl);
> redService.delete(deleteUrl,"kljl");
>
> When I am doing this, I am getting NUllpointer Exception for deleteURl,
> please suggest
> Thanks
>
> >
>
--
M. Page-Lieberman
[email protected]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---