Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 86457 invoked from network); 20 May 2009 19:08:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 May 2009 19:08:54 -0000 Received: (qmail 42996 invoked by uid 500); 20 May 2009 19:09:07 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 42939 invoked by uid 500); 20 May 2009 19:09:07 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 42929 invoked by uid 99); 20 May 2009 19:09:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 19:09:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Wed, 20 May 2009 19:09:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8669A234C004 for ; Wed, 20 May 2009 12:08:45 -0700 (PDT) Message-ID: <2058213574.1242846525535.JavaMail.jira@brutus> Date: Wed, 20 May 2009 12:08:45 -0700 (PDT) From: "Prasad Chakka (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-498) UDFRegExp NullPointerException on empty replacement string In-Reply-To: <1638967386.1242843885780.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711298#action_12711298 ] Prasad Chakka commented on HIVE-498: ------------------------------------ isn't the check 'p == null' redundant since p is set to null and not modified before this check? > UDFRegExp NullPointerException on empty replacement string > ---------------------------------------------------------- > > Key: HIVE-498 > URL: https://issues.apache.org/jira/browse/HIVE-498 > Project: Hadoop Hive > Issue Type: Bug > Affects Versions: 0.4.0 > Reporter: Zheng Shao > Assignee: Zheng Shao > Attachments: HIVE-498.1.patch > > > UDFRegExp, UDFRegExpReplace, UDFRegExpExtract will throw out NullPointerException if the replacement String is empty or pattern is empty -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.