On Mon, Nov 23, 2009 at 11:04 AM, Claus Ibsen <[email protected]> wrote:
> On Mon, Nov 23, 2009 at 5:00 PM, Stan Lewis <[email protected]> wrote: > > If I go to the URL that you're using I don't see an RSS feed but instead > see > > what looks like an Oracle error. Did you check and make sure that the > URL > > you're using is producing a valid RSS feed? > > > > Ah yeah but the NPE may come from camel-rss / camel-atom. I bet we > need to detect this HTTP error etc. and log this as a WARN etc. > > Yeah, you're right there. Ian, can you send along a complete stack trace? > > On Mon, Nov 23, 2009 at 10:43 AM, Ian de Beer <[email protected]> wrote: > > > >> > >> Hi > >> I specify the RSS feed as follows: > >> rss: > >> > http://www.iafrica.com/pls/cms/grapevine.xml?p_section=weather&p_city=cape%20town&sortEntries=true&consumer.initialDelay=9000 > >> I consistently get the following response: > >> WARN - DefaultPollingConsumerPollStrategy - Consumer > >> Consumer[rss:// > >> > http://www.iafrica.com/pls/cms/grapevine.xml?consumer.initialDelay=9000&p_city=cape%20town&p_section=weather&sortEntries=true > >> ] > >> could not poll endpoint: > >> rss:// > >> > http://www.iafrica.com/pls/cms/grapevine.xml?consumer.initialDelay=9000&p_city=cape+town&p_section=weather&sortEntries=true > >> caused by: null > >> java.lang.NullPointerException > >> > >> Obviously no feeds are retrieved from the endpoint. > >> > >> Regards > >> Ian > >> -- > >> View this message in context: > >> > http://old.nabble.com/RSS-Parameters-%28again%29-tp26480383p26480383.html > >> Sent from the Camel - Users mailing list archive at Nabble.com. > >> > >> > > > > > > -- > Claus Ibsen > Apache Camel Committer > > Author of Camel in Action: http://www.manning.com/ibsen/ > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus >
