Return-Path: Delivered-To: apmail-hadoop-pig-dev-archive@www.apache.org Received: (qmail 45909 invoked from network); 6 Apr 2010 22:35:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Apr 2010 22:35:54 -0000 Received: (qmail 86612 invoked by uid 500); 6 Apr 2010 22:35:54 -0000 Delivered-To: apmail-hadoop-pig-dev-archive@hadoop.apache.org Received: (qmail 86590 invoked by uid 500); 6 Apr 2010 22:35:54 -0000 Mailing-List: contact pig-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pig-dev@hadoop.apache.org Delivered-To: mailing list pig-dev@hadoop.apache.org Received: (qmail 86582 invoked by uid 99); 6 Apr 2010 22:35:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 22:35:54 +0000 X-ASF-Spam-Status: No, hits=-1234.0 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 22:35:53 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 82B16234C4A8 for ; Tue, 6 Apr 2010 22:35:33 +0000 (UTC) Message-ID: <26308210.28681270593333534.JavaMail.jira@brutus.apache.org> Date: Tue, 6 Apr 2010 22:35:33 +0000 (UTC) From: "Richard Ding (JIRA)" To: pig-dev@hadoop.apache.org Subject: [jira] Commented: (PIG-1352) piggybank UPPER udf throws exception if argument is null In-Reply-To: <1629408382.663611270232547390.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PIG-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854232#action_12854232 ] Richard Ding commented on PIG-1352: ----------------------------------- +1. But notice string functions in piggybank have different exception handling code. Opened PIG-1358 to track this issue. > piggybank UPPER udf throws exception if argument is null > -------------------------------------------------------- > > Key: PIG-1352 > URL: https://issues.apache.org/jira/browse/PIG-1352 > Project: Pig > Issue Type: Bug > Affects Versions: 0.7.0 > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Fix For: 0.7.0 > > Attachments: UPPER.patch > > > java.lang.NullPointerException > at org.apache.pig.piggybank.evaluation.string.UPPER.exec(UPPER.java:62) > at org.apache.pig.piggybank.evaluation.string.UPPER.exec(UPPER.java:42) > at org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POUserFunc.getNext(POUserFunc.java:212) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.