Allan Shoup created CRUNCH-349:
----------------------------------

             Summary: 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


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)

Reply via email to