Hi,
The message is a little bit old (Jan 2009), so I don't know if your problem
is now fixed or not... in any case, I have had the same problem trying to
run NutchBean from an standalone Java application... in my case, I fixed the
problem by adding to the source code of my application the following lines:
Configuration c = NutchConfiguration.create();
/* Some code removed here */
c.set("analysis.common.terms.file", "common-terms.utf8");
and including in the root of the nutch-1.0.jar the file common-terms.utf8
obtained from the "$NUTCH_HOME/conf/" folder
Hope that helps (if you still have the problem)
Regards,
N
afan0804 wrote:
>
>
> Hi all,
>
> I am trying to run Nutch 0.8 on a Linux server and am coming up with some
> errors that did not appear when I ran Nutch on a Windows machine. It get
> this error message: common-terms.utf8 not found which is throwing a
> java.lang.NullPointerException. The line that giving the error message is
>
> conf.getConfResourceAsReader(conf.get("analysis.common.terms.file")) in
> org.apache.nutch.analysis.CommonGrams. I have tried to change
> analysis.common.terms.file in nutch-site.xml to an absolute path pointing
> to common-terms.utf8 or a path relative to the nutch or hadoop jar file.
> None of these succeed.
>
> Anyone has any ideas?
>
> Thanks!
> Angela
> _________________________________________________________________
> So many new options, so little time. Windows Live Messenger.
> http://www.microsoft.com/windows/windowslive/messenger.aspx
>
--
View this message in context:
http://www.nabble.com/Nutch-on-Linux%3A-common-terms.utf8-not-found-tp21705605p23485946.html
Sent from the Nutch - User mailing list archive at Nabble.com.