Here is how I retrieve the contacts. Is this a deprecated way?It works
fine except for this one user account.
               Query myQuery = new Query(new URL(CONTACTS_FEED));       
  myQuery.setUpdatedMin(new
DateTime(lcs.getTime()));               
myQuery.setStringCustomParameter("orderby",
"lastmodified");                myQuery.setStringCustomParameter("sortorder",
"ascending");           myQuery.setStartIndex(offset);          ContactFeed 
resultFeed
= myService.getFeed(myQuery,                                    
ContactFeed.class);
On Mon, Dec 19, 2011 at 5:11 PM, Alexey Panteleev <[email protected]> wrote:
> Hello, I seem to be experiencing a similar issue, has a reason been
> identified?
>
> Caused by: java.util.concurrent.ExecutionException:
> com.google.gdata.util.ParseException: The prefix "atom" for element
> "atom:cc" is not bound.
>        at java.util.concurrent.FutureTask
> $Sync.innerGet(FutureTask.java:222)
>        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
>        at
> com.yoxel.sync.mail.AccountHandler.collectParallelSyncs(AccountHandler.java:
> 353)
>        ... 8 more
> Caused by: com.google.gdata.util.ParseException: The prefix "atom" for
> element "atom:cc" is not bound.
>        at com.google.gdata.util.XmlParser.parse(XmlParser.java:703)
>        at com.google.gdata.util.XmlParser.parse(XmlParser.java:576)
>        at com.google.gdata.data.BaseFeed.parseAtom(BaseFeed.java:867)
>        at
> com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:
> 68)
>        at
> com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:
> 39)
>        at
> com.google.gdata.wireformats.input.CharacterParser.parse(CharacterParser.java:
> 100)
>        at
> com.google.gdata.wireformats.input.XmlInputParser.parse(XmlInputParser.java:
> 52)
>        at
> com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:
> 66)
>        at
> com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:
> 34)
>        at
> com.google.gdata.client.Service.parseResponseData(Service.java:2165)
>        at
> com.google.gdata.client.Service.parseResponseData(Service.java:2098)
>        at com.google.gdata.client.Service.getFeed(Service.java:1136)
>        at com.google.gdata.client.Service.getFeed(Service.java:1077)
>        at
> com.google.gdata.client.GoogleService.getFeed(GoogleService.java:662)
>        at com.google.gdata.client.Service.getFeed(Service.java:1034)
>        at
> com.yoxel.sync.imap.PeopleSynchronizer.call(PeopleSynchronizer.java:
> 143)
>        ... 5 more
> Caused by: org.xml.sax.SAXParseException: The prefix "atom" for
> element "atom:cc" is not bound.
>        at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:
> 1231)
>        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> $JAXPSAXParser.parse(SAXParserImpl.java:522)
>        at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:
> 405)
>        at com.google.gdata.util.XmlParser.parse(XmlParser.java:685)
>        ... 20 more
>
> On Nov 7, 6:09 am, Daniel Florey <[email protected]> wrote:
>> I've come across the same issue - unfortunately I just have the exception
>> as the contacts data is privately owned by our customer:
>>
>> Caused by: com.google.gdata.util.ParseException: The prefix "atom" for 
>> element "atom:cc" is not bound.
>>         at com.google.gdata.util.XmlParser.parse(XmlParser.java:703)
>>         at com.google.gdata.util.XmlParser.parse(XmlParser.java:576)
>>         at com.google.gdata.data.BaseFeed.parseAtom(BaseFeed.java:867)
>>         at 
>> com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java 
>> :68)
>>         at 
>> com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java 
>> :39)
>>         at 
>> com.google.gdata.wireformats.input.CharacterParser.parse(CharacterParser.ja 
>> va:100)
>>         at 
>> com.google.gdata.wireformats.input.XmlInputParser.parse(XmlInputParser.java 
>> :52)
>>         at 
>> com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java 
>> :66)
>>         at 
>> com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java 
>> :34)
>>         at 
>> com.google.gdata.client.Service.parseResponseData(Service.java:2165)
>>         at 
>> com.google.gdata.client.Service.parseResponseData(Service.java:2098)
>>         at com.google.gdata.client.Service.getFeed(Service.java:1136)
>>         at com.google.gdata.client.Service.getFeed(Service.java:1077)
>>         at 
>> com.google.gdata.client.GoogleService.getFeed(GoogleService.java:662)
>>         at com.google.gdata.client.Service.query(Service.java:1237)
>>         at com.google.gdata.client.Service.query(Service.java:1178)
>>         at 
>> com.floreysoft.ucm.server.contacts.provider.google.SyncGoogleContactsAction 
>> .collectContacts(SyncGoogleContactsAction.java:311)
>>         ... 34 more
>> Caused by: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 757; 
>> The prefix "atom" for element "atom:cc" is not bound.
>>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
>> Source)
>>         at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:429)
>>         at com.google.gdata.util.XmlParser.parse(XmlParser.java:685)
>>         ... 50 more
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html



-- 
Founder / Project Lead
Yoxel Systems

Skype ID: yoxel.com
Twitter: @yoxeldotcom
Telephone: +1 415 230 0189

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html

Reply via email to