Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C2C676A0A for ; Mon, 4 Jul 2011 21:41:44 +0000 (UTC) Received: (qmail 691 invoked by uid 500); 4 Jul 2011 21:41:44 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 639 invoked by uid 500); 4 Jul 2011 21:41:43 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 628 invoked by uid 99); 4 Jul 2011 21:41:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 21:41:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 21:41:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E9BE1417B1 for ; Mon, 4 Jul 2011 21:41:21 +0000 (UTC) Date: Mon, 4 Jul 2011 21:41:21 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <502793641.2578.1309815681953.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <73892904.2566.1309815081901.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-7440) HttpServer.getParameterValues throws NPE for missing parameters 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/HADOOP-7440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HADOOP-7440: -------------------------------- Attachment: hadoop-7440.txt > HttpServer.getParameterValues throws NPE for missing parameters > --------------------------------------------------------------- > > Key: HADOOP-7440 > URL: https://issues.apache.org/jira/browse/HADOOP-7440 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.23.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: 0.23.0 > > Attachments: hadoop-7440.txt > > > If the requested parameter was not specified in the request, the raw request's getParameterValues function returns null. Thus, trying to access {{unquoteValue.length}} throws NPE. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira