You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by forwardswing <wa...@sohu.com> on 2012/05/14 05:28:08 UTC

java.lang.NullPointerException:org.apache.hadoop.io.Text.encode(Text.java:388)

When i use nutch1.4,it always occur this error:
2012-05-14 09:32:23,472 WARN  mapred.LocalJobRunner - job_local_0011
java.lang.NullPointerException
	at org.apache.hadoop.io.Text.encode(Text.java:388)
	at org.apache.hadoop.io.Text.set(Text.java:178)
	at
org.apache.nutch.indexer.solr.SolrDeleteDuplicates$SolrInputFormat$1.next(SolrDeleteDuplicates.java:270)
	at
org.apache.nutch.indexer.solr.SolrDeleteDuplicates$SolrInputFormat$1.next(SolrDeleteDuplicates.java:241)
	at
org.apache.hadoop.mapred.MapTask$TrackedRecordReader.moveToNext(MapTask.java:192)
	at
org.apache.hadoop.mapred.MapTask$TrackedRecordReader.next(MapTask.java:176)
	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:48)
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307)
	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:177)

my nutch configuration is generally default.
Who can help me ?

Why it occurs this error how to debug & resolve ??

--
View this message in context: http://lucene.472066.n3.nabble.com/java-lang-NullPointerException-org-apache-hadoop-io-Text-encode-Text-java-388-tp3983600.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Re: java.lang.NullPointerException:org.apache.hadoop.io.Text.encode(Text.java:388)

Posted by forwardswing <wa...@sohu.com>.
Could you please tell me some more info?I have checked but not found.

Thanks very much.

--
View this message in context: http://lucene.472066.n3.nabble.com/java-lang-NullPointerException-org-apache-hadoop-io-Text-encode-Text-java-388-tp3983600p3983793.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Re: java.lang.NullPointerException:org.apache.hadoop.io.Text.encode(Text.java:388)

Posted by Markus Jelsma <ma...@openindex.io>.
 Hi

 Please check the mailing list and Jira. This is a known issue.


 On Sun, 13 May 2012 20:28:08 -0700 (PDT), forwardswing 
 <wa...@sohu.com> wrote:
> When i use nutch1.4,it always occur this error:
> 2012-05-14 09:32:23,472 WARN  mapred.LocalJobRunner - job_local_0011
> java.lang.NullPointerException
> 	at org.apache.hadoop.io.Text.encode(Text.java:388)
> 	at org.apache.hadoop.io.Text.set(Text.java:178)
> 	at
> 
> org.apache.nutch.indexer.solr.SolrDeleteDuplicates$SolrInputFormat$1.next(SolrDeleteDuplicates.java:270)
> 	at
> 
> org.apache.nutch.indexer.solr.SolrDeleteDuplicates$SolrInputFormat$1.next(SolrDeleteDuplicates.java:241)
> 	at
> 
> org.apache.hadoop.mapred.MapTask$TrackedRecordReader.moveToNext(MapTask.java:192)
> 	at
> 
> org.apache.hadoop.mapred.MapTask$TrackedRecordReader.next(MapTask.java:176)
> 	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:48)
> 	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307)
> 	at 
> org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:177)
>
> my nutch configuration is generally default.
> Who can help me ?
>
> Why it occurs this error how to debug & resolve ??
>
> --
> View this message in context:
> 
> http://lucene.472066.n3.nabble.com/java-lang-NullPointerException-org-apache-hadoop-io-Text-encode-Text-java-388-tp3983600.html
> Sent from the Nutch - User mailing list archive at Nabble.com.

-- 
 Markus Jelsma - CTO - Openindex