Hi.
I got following error when I get a user's contact list as currentPage
= contactService.getFeed(postUrl, ContactFeed.class);
This does work some users but not for some users.
The error message is like this. I am using contact api 1.0 java
client.

###
Warning: [Line 1, Column 4256, element gd:orgName]
com.google.gdata.util.ParseException: Missing required text content
Message: Missing required text content

        at com.google.gdata.data.AttributeHelper.consume(Unknown Source)
        at com.google.gdata.data.AttributeHelper.consumeContent(Unknown
Source)
        at com.google.gdata.data.ValueConstruct.consumeAttributes(Unknown
Source)
        at com.google.gdata.data.AbstractExtension
$AttributesHandler.processEndElement(Unknown Source)
        at com.google.gdata.util.XmlParser.endElement(Unknown Source)
        at org.xml.sax.helpers.ParserAdapter.endElement(ParserAdapter.java:
626)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement
(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        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:405)
        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.data.BaseFeed.readFeed(Unknown Source)
        at com.google.gdata.client.Service.getFeed(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.getFeed(Unknown Source)
####
When this happen this user's contact list cannot be touched.
I figure out a contact data causes this. And when I delete or save
from web browser, this won't happen for the user.
But I need to maintain users contact list with batch.

What causes this? and is there any workaround?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Contacts 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-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to