You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2014/02/18 23:25:21 UTC
[jira] [Commented] (CRUNCH-349) NullPointerException in
RTNode.process
[ https://issues.apache.org/jira/browse/CRUNCH-349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13904709#comment-13904709 ]
Josh Wills commented on CRUNCH-349:
-----------------------------------
+1 to commit
> NullPointerException in RTNode.process
> --------------------------------------
>
> Key: CRUNCH-349
> URL: https://issues.apache.org/jira/browse/CRUNCH-349
> Project: Crunch
> Issue Type: Bug
> Components: Core
> Reporter: Allan Shoup
> Assignee: Josh Wills
> Attachments: CRUNCH-349.patch
>
>
> Inside the RTNode.process(Object input) method, when input is null and an exception is caught, the act of logging the input causes another NullPointerException when it attempts to do input.toString().
> Omiting the toString should fix the problem:
> LOG.info(String.format("Crunch exception in '%s' for input: %s", nodeName, input), e);
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)