Yes, of course. I'm glad this might help somebody else, since I've spent many hours trying to figure this out :-) It turned out to be a jar file confusion. I had inadvertently mixed up jar files corresponding to two different gdata api versions (essentially forgot to delete the old ones when I thought I had completely switched to using a newer version). Hope this helps out, -Patricia [email protected]
> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On > Behalf Of Sbock > Sent: Tuesday, June 09, 2009 11:23 PM > To: Google Calendar Data API > Subject: Re: strange exception when using java client library > for sharing calendars > > > Hi, i'm getting the same message and clueless about it right > now, can you describe a bit about the silly logical error? thanks~~ > > On Jun 4, 1:57 am, "Patricia Goldweic" <[email protected]> > wrote: > > Problem resolved (a silly logical error within my web app). > Please ignore. > > Thanks, > > -Patricia > > > > Patricia Goldweic > > [email protected]> -----Original Message----- > > > From: [email protected] > > > [mailto:[email protected]] On > Behalf Of > > > patriciaG > > > Sent: Wednesday, June 03, 2009 12:32 PM > > > To: Google Calendar Data API > > > Subject: strange exception when using java client library for > > > sharing calendars > > > > > The following piece of code (that simply uses the Java > client apis > > > to refer to a valid role that the calendar service understands): > > > > > - return CalendarAclRole.READ (same thing with other > roles, such > > > as > > > 'EDITOR') > > > > > produces the following Java exception: > > > > > java.lang.NoSuchMethodError: > > > > com.google.gdata.data.ValueConstruct.<init>(Lcom/google/gdata/util/ > > > common/xml/XmlWriter$Namespace;Ljava/lang/String;Ljava/lang/ > > > String;Ljava/lang/String;)V > > > at > com.google.gdata.data.calendar.AccessLevelProperty.<init> > > > (Unknown Source) > > > at > > > com.google.gdata.data.calendar.AccessLevelProperty.<clinit> > > > (Unknown Source) > > > at com.google.gdata.data.calendar.CalendarAclRole.<clinit> > > > (Unknown Source) > > > at...... (this is my own code, which contains > the 'return > > > CalendarAclRole.READ' as explained above) > > > > > Could somebody please help me figure out why this > exception is being > > > thrown? Thanks in advance, -Patricia > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
