athibanraj / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

Issue 306: Soft 404s cause com.google.gdata.util.ParseException #431

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Happens when soft 404 issues exist.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Eclipse Juno

Please provide any additional information below.
Unable to retrieve the feed. Server unavailable.
com.google.gdata.util.ParseException: [Line 1, Column 16033, element 
wt:issue-type] Invalid value for attribute : 'null'
    at com.google.gdata.util.XmlParser.throwParseException(XmlParser.java:739)
    at com.google.gdata.util.XmlParser.parse(XmlParser.java:702)
    at com.google.gdata.util.XmlParser.parse(XmlParser.java:585)
    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:998)
    at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:645)
    at com.google.gdata.client.Service.getFeed(Service.java:1017)
    at get_error_wmt.main(get_error_wmt.java:100)
Caused by: com.google.gdata.util.ParseException: Invalid value for attribute : 
'null'
    at com.google.gdata.data.AttributeHelper.consumeEnum(AttributeHelper.java:592)
    at com.google.gdata.data.webmastertools.CrawlIssueIssueType.consumeAttributes(CrawlIssueIssueType.java:170)
    at com.google.gdata.data.AbstractExtension$AttributesHandler.processEndElement(AbstractExtension.java:263)
    at com.google.gdata.util.XmlParser.endElement(XmlParser.java:1013)
    at org.xml.sax.helpers.ParserAdapter.endElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.xml.sax.helpers.ParserAdapter.parse(Unknown Source)
    at com.google.gdata.util.XmlParser.parse(XmlParser.java:694)
    ... 15 more

Original issue reported on code.google.com by choudhar...@pg.com on 26 Apr 2013 at 9:48

GoogleCodeExporter commented 9 years ago
Downloaded the package from 
https://code.google.com/p/gdata-java-client/downloads/detail?name=gdata-src.java
-1.47.1.zip&can=2&q=

Original comment by choudhar...@pg.com on 26 Apr 2013 at 9:59