Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 55255 invoked from network); 9 Sep 2005 03:35:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Sep 2005 03:35:37 -0000 Received: (qmail 32552 invoked by uid 500); 9 Sep 2005 03:35:34 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 32357 invoked by uid 500); 9 Sep 2005 03:35:33 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 32342 invoked by uid 99); 9 Sep 2005 03:35:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2005 20:35:32 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 499D2322 for ; Fri, 9 Sep 2005 05:35:31 +0200 (CEST) Message-ID: <415403195.1126236931298.JavaMail.jira@ajax.apache.org> Date: Fri, 9 Sep 2005 05:35:31 +0200 (CEST) From: "Joe Bohn (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-988) Avoid NPEs & move check for server type down to BasePortlet for all portlets to use. Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Avoid NPEs & move check for server type down to BasePortlet for all portlets to use. ------------------------------------------------------------------------------------ Key: GERONIMO-988 URL: http://issues.apache.org/jira/browse/GERONIMO-988 Project: Geronimo Type: Bug Components: console Versions: 1.0-M5 Environment: Windows XP Reporter: Joe Bohn This is a patch to move the check for server type down to BasePortlet so that all console portlets can take advantage of it. It also updates all console portlets to extend from BasePortlet. Finally, there are some coding changes in the check for the server type itself to avoid NPE when "should not occur" things occur. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira