Looks like an error in one of the feeds you are including in Planet
combined with a bug in Planet's error handing.

The feed error appears to be an empty <dc:date> field, which should be
ignored by Roller but instead causes a null-pointer exception.

Any chance you can try 3.1, just as a test? I believe we made some
changes in Planet's feed parsing logic.

- Dave



On 5/3/07, Matt Topper <[EMAIL PROTECTED]> wrote:
I'm new to the list and not really finding a search for the mailing list
archives, so I appologize if this has been covered before. But...

I've setup roller 3.0 with the planet aggregator as listed in the user
guide.  No problems so far.  The site comes up, the default roller blog
for the aggregator appears, but the problem is that I'm not getting any
of the external entries to display.

When I hit the "Refresh Entries" button I get the following error in my
roller.log file:

INFO  2007-05-03 17:45:14,640 HibernatePlanetManagerImpl:refreshEntries -    0 
- 0.0020 seconds to process (0) entries of 
http://blogs.itconvergence.com/roller/frontpage/feed/entries/rss

INFO  2007-05-03 17:45:14,641 HibernatePlanetManagerImpl:refreshEntries -    0 
- 0.0 seconds to process (0) entries of 
http://blogs.itconvergence.com/roller/mtopper/feed/entries/rss

INFO  2007-05-03 17:45:14,642 DiskFeedInfoCache:getFeedInfo - Cache MISS!

ERROR 2007-05-03 17:45:16,040 HibernatePlanetManagerImpl:getNewEntries - ERROR 
processing subscription entry

java.lang.NullPointerException

        at 
org.apache.roller.pojos.PlanetEntryData.initFromRomeEntry(PlanetEntryData.java:115)

        at 
org.apache.roller.pojos.PlanetEntryData.<init>(PlanetEntryData.java:81)

        at 
org.apache.roller.business.hibernate.HibernatePlanetManagerImpl.getNewEntries(HibernatePlanetManagerImpl.java:549)

        at 
org.apache.roller.business.hibernate.HibernateRollerPlanetManagerImpl.getNewEntries(HibernateRollerPlanetManagerImpl.java:80)

        at 
org.apache.roller.business.hibernate.HibernatePlanetManagerImpl.refreshEntries(HibernatePlanetManagerImpl.java:458)

        at 
org.apache.roller.ui.core.tasks.RefreshEntriesTask.run(RefreshEntriesTask.java:65)

        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown 
Source)

        at java.lang.Thread.run(Thread.java:595)

INFO  2007-05-03 17:45:16,059 HibernatePlanetManagerImpl:refreshEntries -    0 
- 1.418 seconds to process (0) entries of http://padraigs.blogspot.com/atom.xml

INFO  2007-05-03 17:45:18,653 HibernatePlanetManagerImpl:refreshEntries -    10 
- 2.593 seconds to process (10) entries of http://www.matttopper.com/?feed=rss2

INFO  2007-05-03 17:45:18,654 HibernatePlanetManagerImpl:refreshEntries - --- 
DONE --- Refreshed entries in 4.034 seconds


I get the NullPointerException about 20 times repeated over and over.
The planet-cache directory does get updated with the new feed content,
but my content on the front page never displays them.  My Weblog
template for the frontpage looks like this:

                    #if (!$model.results)

                        ## 1) SITE-WIDE entries (the default)

                        #set($pager = $site.getWeblogEntriesPager($since, 
$maxResults))

                        ## 2) PLANET-entries

                        #set($pager = $planet.getAggregationPager($since, 
$maxResults))

                        ## The below pager code should work against either:


If I comment out the first set the page content is just blank, if I
leave both then only the internal roller Entries are displayed.

I have a feeling there are 2 issues going on here, one with the
NullPointer and the second with my template, neither of which are
related.  Then again, who knows.  Any thoughts guys?

Thanks in advance
Matt

Reply via email to