nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-1494) RSS feed plugin seems broken
Date Wed, 09 Jan 2013 04:04:12 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13547611#comment-13547611
] 

Lewis John McGibbney commented on NUTCH-1494:
---------------------------------------------

Hi Tejas. This works just fine. I've tested it with feeds on my local filesystem and via http
whilst crawling and all seems to work fine.
Essentially this issue is about reverting the rome dependency back to 0.9 (as 1.0 is buggy)
and adding jdom as a dependency to the feed plugin to avoid experiencing the initial issue
as reported by Sourajit.
I'll commit for 1.x and 2.x unless there are objections.
                
> RSS feed plugin seems broken
> ----------------------------
>
>                 Key: NUTCH-1494
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1494
>             Project: Nutch
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.5.1
>         Environment: Ubuntu 12.04 + JDK 7
>            Reporter: Sourajit Basak
>             Fix For: 1.7
>
>         Attachments: NUTCH-1494.3.patch, sourajit.NUTCH-1494.2.patch
>
>
> The RSS "feed" plugin is broken.
> I had to change the plugin dependencies to point to the correct rome library version.
> <!-- changed to the version thats bundled with v1.5.1, previously 0.9 -->
>  <library name="rome-1.0.0.jar" />
>  <!-- added this due to a CNFE from rome -->
>  <library name="jdom-1.0.jar" />
> Still it fails due to some (known) problem in rome.
> Caused by: java.lang.NullPointerException
>     at java.util.Properties$LineReader.readLine(Properties.java:434)
>     at java.util.Properties.load0(Properties.java:353)
>     at java.util.Properties.load(Properties.java:341)
>     at com.sun.syndication.io.impl.PropertiesLoader.<init>(PropertiesLoader.java:74)
>     at com.sun.syndication.io.impl.PropertiesLoader.getPropertiesLoader(PropertiesLoader.java:46)
>     at com.sun.syndication.io.impl.PluginManager.<init>(PluginManager.java:54)
>     at com.sun.syndication.io.impl.PluginManager.<init>(PluginManager.java:46)
>     at com.sun.syndication.feed.synd.impl.Converters.<init>(Converters.java:40)
>     at com.sun.syndication.feed.synd.SyndFeedImpl.<clinit>(SyndFeedImpl.java:59)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message