I do not know much about rss.
Should an entry always have a published date ?
If no, we should handle the problem, if yes, where does the error come from ?
Any thoughts ?

Guillaume Nodet

Maxim Surov wrote:

Hi all,

I just have launched RssPollingComponent that is provided with ServiceMix
distribution.

I got NullPointerException

if (entry.getPublishedDate().after(getLastPolledDate())) {
    result.add(entry);
}

because of entry.getPublishedDate() returns null.

It polls correct rss feeds, etc.

Does anyone know the reason?

Probably I should somehow configure ROMA tools to work with Rss.

Regards,
Maxim





Reply via email to