You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Dave Beech (JIRA)" <ji...@apache.org> on 2013/01/14 14:28:12 UTC

[jira] [Created] (CRUNCH-142) Context not being passed to FilterFn instances wrapped in boolean AndFn,OrFn,NotFn

Dave Beech created CRUNCH-142:
---------------------------------

             Summary: Context not being passed to FilterFn instances wrapped in boolean AndFn,OrFn,NotFn
                 Key: CRUNCH-142
                 URL: https://issues.apache.org/jira/browse/CRUNCH-142
             Project: Crunch
          Issue Type: Bug
            Reporter: Dave Beech
         Attachments: CRUNCH-142.patch

The boolean filter classes AndFn, OrFn and NotFn delegate calls to FilterFn instances internally, but setContext is not called on these first. 

As a result, methods which need the context such as getCounter() fail with NullPointerException. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira