[
https://issues.apache.org/jira/browse/CRUNCH-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriel Reid resolved CRUNCH-349.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.8.3
0.10.0
Pushed to master and 0.8 branch
> 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
> Fix For: 0.10.0, 0.8.3
>
> 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)