You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "MoD (JIRA)" <ji...@apache.org> on 2010/08/02 09:40:17 UTC
[jira] Issue Comment Edited: (NUTCH-868) ParseSegment
NullPointerException
[ https://issues.apache.org/jira/browse/NUTCH-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894479#action_12894479 ]
MoD edited comment on NUTCH-868 at 8/2/10 3:39 AM:
---------------------------------------------------
h3. I can confirm :
{code}
java.lang.NullPointerException at org.apache.nutch.parse.ParseSegment.map(ParseSegment.java:92)
at org.apache.nutch.parse.ParseSegment.map(ParseSegment.java:42)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
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.Child.main(Child.java:170)
{code}
*I'm using Nutch trunk with this patch*
was (Author: mod):
h3. I can confirm :
{code}
java.lang.NullPointerException at org.apache.nutch.parse.ParseSegment.map(ParseSegment.java:92)
at org.apache.nutch.parse.ParseSegment.map(ParseSegment.java:42)
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
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.Child.main(Child.java:170)
{code}
*I'm using Nutch trunk* with this path too
> ParseSegment NullPointerException
> ---------------------------------
>
> Key: NUTCH-868
> URL: https://issues.apache.org/jira/browse/NUTCH-868
> Project: Nutch
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.1
> Environment: Ubuntu 9.10 Linux 2.6.31-14-generic
> Reporter: Max Lynch
> Fix For: 1.1
>
> Attachments: NUTCH-868.patch
>
>
> The Nutch parser step will fail if ParseUtil.parse returns null. Perhaps the issue is because I applied this patch: https://issues.apache.org/jira/browse/NUTCH-696
> The exception happens in ParseSegment.map at line 91. The attached patch fixes the issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.