crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allan Shoup (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CRUNCH-349) NullPointerException in RTNode.process
Date Tue, 18 Feb 2014 21:19:22 GMT
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)

Mime
View raw message