|
| <prev next> |
Bug: Java gdata API is creating invalid XML: msg#00291org.google.api.calendar
Just noticed this in my logs. The gdata API 1.0.3 is creating XML that can't be parsed by Google's servers. Sat 2006/Sep/30 3:32:09.375 PM|***|http-8080-Processor12|SWSyncSource|java.lang.Exception: sync() error. Google ServiceException response body: null java.lang.Exception: sync() error. Google ServiceException response body: null at com.wss.calendar.sync4j.GoogleCalendarSync.sync(GoogleCalendarSync.java:957) <snip> Caused by: com.google.gdata.util.ParseException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at com.google.gdata.util.XmlParser.parse(Unknown Source) at com.google.gdata.util.XmlParser.parse(Unknown Source) at com.google.gdata.data.BaseFeed.parseAtom(Unknown Source) at com.google.gdata.client.Service.getFeed(Unknown Source) at com.google.gdata.client.GoogleService.getFeed(Unknown Source) at com.google.gdata.client.Service.query(Unknown Source) at com.google.gdata.client.Service.query(Unknown Source) at com.wss.calendar.sync4j.GoogleCalendarSync.getEventFeed(GoogleCalendarSync.java:219) at com.wss.calendar.sync4j.GoogleCalendarSync.sync(GoogleCalendarSync.java:594) ... 28 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269) at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405) ... 37 more It looks like the gdata client has a bug that sends a null/empty document to the server. Cheers. -- http://www.ScheduleWorld.com/tg/ Free Google Calendar synchronization with Outlook, Evolution, cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird, Pocket PC/Windows Mobile. Also sync tasks, notes and contacts! WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Getting list of users calendars, very-very slow..: 00291, Hali-rob |
|---|---|
| Previous by Thread: | Getting list of users calendars, very-very slow..i: 00291, Hali-rob |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |