Return-Path: X-Original-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73135E4C2 for ; Mon, 14 Jan 2013 13:28:18 +0000 (UTC) Received: (qmail 33611 invoked by uid 500); 14 Jan 2013 13:28:18 -0000 Delivered-To: apmail-incubator-crunch-dev-archive@incubator.apache.org Received: (qmail 33475 invoked by uid 500); 14 Jan 2013 13:28:17 -0000 Mailing-List: contact crunch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: crunch-dev@incubator.apache.org Delivered-To: mailing list crunch-dev@incubator.apache.org Received: (qmail 33329 invoked by uid 99); 14 Jan 2013 13:28:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 13:28:12 +0000 Date: Mon, 14 Jan 2013 13:28:12 +0000 (UTC) From: "Dave Beech (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CRUNCH-142) Context not being passed to FilterFn instances wrapped in boolean AndFn,OrFn,NotFn MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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