showlowtech / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

Netflix Title entities no longer parse (atom format parser) #186

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Run the NetflixConsumerExample.

This appears to have been caused by a recent change to AtomFeedFormatParser.

Exception in thread "main" java.lang.RuntimeException: 
java.lang.RuntimeException: unknown property: SmallUrl
    at org.core4j.ReadOnlyIterator.hasNext(ReadOnlyIterator.java:50)
    at org.core4j.Enumerable$FuncIterator.hasNext(Enumerable.java:482)
    at org.core4j.Enumerable$FuncIterator.hasNext(Enumerable.java:482)
    at org.core4j.Enumerable.toList(Enumerable.java:65)
    at org.odata4j.examples.consumer.NetflixConsumerExample.run(NetflixConsumerExample.java:26)
    at org.odata4j.examples.consumer.NetflixConsumerExample.main(NetflixConsumerExample.java:15)
Caused by: java.lang.RuntimeException: unknown property: SmallUrl
    at org.odata4j.format.xml.AtomFeedFormatParser.parseProperties(AtomFeedFormatParser.java:213)
    at org.odata4j.format.xml.AtomFeedFormatParser.parseProperties(AtomFeedFormatParser.java:217)
    at org.odata4j.format.xml.AtomFeedFormatParser.parseDSAtomEntry(AtomFeedFormatParser.java:271)
    at org.odata4j.format.xml.AtomFeedFormatParser.parseEntry(AtomFeedFormatParser.java:370)
    at org.odata4j.format.xml.AtomFeedFormatParser.parseFeed(AtomFeedFormatParser.java:164)
    at org.odata4j.format.xml.AtomFeedFormatParser.parse(AtomFeedFormatParser.java:152)
    at org.odata4j.format.xml.AtomFeedFormatParser.parse(AtomFeedFormatParser.java:1)
    at org.odata4j.jersey.consumer.ConsumerQueryEntitiesRequest$EntryIterator.advance(ConsumerQueryEntitiesRequest.java:81)
    at org.core4j.ReadOnlyIterator.hasNext(ReadOnlyIterator.java:48)
    ... 5 more

Original issue reported on code.google.com by john.spurlock on 16 Jun 2012 at 11:07

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 215107baed89.

Original comment by john.spurlock on 16 Jun 2012 at 11:32