[
https://issues.apache.org/jira/browse/NUTCH-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542798#comment-13542798
]
Tejas Patil commented on NUTCH-1494:
------------------------------------
I was working on [NUTCH-1053|https://issues.apache.org/jira/browse/NUTCH-1053]
and found that RSS feed plugin aint working. Searching throught jira brought me
here. After applying the proposed patch in this jira, the build failed.
{noformat}[ivy:resolve] :::: WARNINGS
[ivy:resolve] module not found: net.java.dev.rome#rome;0.9
[ivy:resolve] ==== local: tried
[ivy:resolve]
/home/tejas/.ivy2/local/net.java.dev.rome/rome/0.9/ivys/ivy.xml
[ivy:resolve] -- artifact net.java.dev.rome#rome;0.9!rome.jar:
[ivy:resolve]
/home/tejas/.ivy2/local/net.java.dev.rome/rome/0.9/jars/rome.jar
[ivy:resolve] ==== maven2: tried
[ivy:resolve]
http://repo1.maven.org/maven2/net/java/dev/rome/rome/0.9/rome-0.9.pom
[ivy:resolve] -- artifact net.java.dev.rome#rome;0.9!rome.jar:
[ivy:resolve]
http://repo1.maven.org/maven2/net/java/dev/rome/rome/0.9/rome-0.9.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: net.java.dev.rome#rome;0.9: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
{noformat}
The suggestion was to revert back to rome v0.9 but the jar cannot be pulled
from maven repo as its been removed. Only rome v1.0.0 is present
[here|http://repo1.maven.org/maven2/net/java/dev/rome/rome/]. With rome v1.0.0
the build is successful but NullPointerException mentioned by Sourajit is
observed. Looks like we are stuck until
[ROME-129|https://rometools.jira.com/browse/ROME-129] is fixed.
> 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: 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