camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stan Lewis (JIRA)" <>
Subject [jira] Created: (CAMEL-2214) NPE thrown from RssDateComparator when using a feed that doesn't parse properly.
Date Mon, 23 Nov 2009 19:43:52 GMT
NPE thrown from RssDateComparator when using a feed that doesn't parse properly.

                 Key: CAMEL-2214
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-rss
    Affects Versions: 2.0.0
            Reporter: Stan Lewis
            Assignee: Stan Lewis

If a feed doesn't parse correctly and you're using splitEntries=true + sortEntries=true you
can run into this NPE:

2009-11-23 14:31:50,152 [0: RssComponent] WARN  ultPollingConsumerPollStrategy -
 Consumer Consumer[rss://]

could not poll endpoint: rss://

caused by: null
	at java.util.Arrays.mergeSort(
	at java.util.Arrays.mergeSort(
	at java.util.Arrays.sort(
	at java.util.Collections.sort(
	at org.apache.camel.component.rss.RssEntryPollingConsumer.sortEntries(
	at org.apache.camel.component.rss.RssEntryPollingConsumer.populateList(
	at org.apache.camel.component.feed.FeedEntryPollingConsumer.poll(
	at java.util.concurrent.Executors$
	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(
	at java.util.concurrent.FutureTask.runAndReset(
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(
	at java.util.concurrent.ScheduledThreadPoolExecutor$
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message