crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CRUNCH-349) NullPointerException in RTNode.process
Date Tue, 18 Feb 2014 21:25:22 GMT

     [ https://issues.apache.org/jira/browse/CRUNCH-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gabriel Reid updated CRUNCH-349:
--------------------------------

    Attachment: CRUNCH-349.patch

Thanks for catching that, here's the patch

> 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)

Mime
View raw message