Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 71824 invoked from network); 18 Nov 2005 09:00:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Nov 2005 09:00:15 -0000 Received: (qmail 25875 invoked by uid 500); 18 Nov 2005 09:00:09 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 25743 invoked by uid 500); 18 Nov 2005 09:00:07 -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 25623 invoked by uid 99); 18 Nov 2005 09:00:06 -0000 X-ASF-Spam-Status: No, hits=1.3 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; Fri, 18 Nov 2005 01:00:03 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 2DFFFE1 for ; Fri, 18 Nov 2005 09:59:42 +0100 (CET) Message-ID: <253899869.1132304382185.JavaMail.jira@ajax.apache.org> Date: Fri, 18 Nov 2005 09:59:42 +0100 (CET) From: "Vamsavardhana Reddy (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-1196) Keystore portlet: Viewing trusted certificate results in an error In-Reply-To: <1048278180.1132224281206.JavaMail.jira@ajax.apache.org> 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 [ http://issues.apache.org/jira/browse/GERONIMO-1196?page=all ] Vamsavardhana Reddy updated GERONIMO-1196: ------------------------------------------ Attachment: GERONIMO-1196-2.patch GERONIMO-1196.patch prevents the Keystore portlet from using "" (empty string) alias when a certificate is imported into the keystore. GERONIMO-1196-2.patch takes care if the keystore (not created by KeyStoreGBean) contains an entry with "" alias. > Keystore portlet: Viewing trusted certificate results in an error > ----------------------------------------------------------------- > > Key: GERONIMO-1196 > URL: http://issues.apache.org/jira/browse/GERONIMO-1196 > Project: Geronimo > Type: Bug > Components: console > Environment: Win XP, Sun JDK 1.4.2_08 > Reporter: Vamsavardhana Reddy > Assignee: Vamsavardhana Reddy > Priority: Minor > Attachments: GERONIMO-1196-2.patch, GERONIMO-1196.patch > > Viewing a trusted certificate results in an error. The following exception is logged to geronimo.log > 12:04:01,806 ERROR [PortletInvokerImpl] PortletInvokerImpl.render() - Error while dispatching portlet. > javax.portlet.PortletException > at org.apache.geronimo.console.certmanager.actions.ViewKeyStoreEntryDetail.render(ViewKeyStoreEntryDetail.java:69) > at org.apache.geronimo.console.certmanager.CertManagerPortlet.doView(CertManagerPortlet.java:134) > at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:250) > ... > Caused by: java.lang.NullPointerException > at sun.security.provider.JavaKeyStore$JKS.convertAlias(JavaKeyStore.java:40) > at sun.security.provider.JavaKeyStore.engineIsCertificateEntry(JavaKeyStore.java:409) > at java.security.KeyStore.isCertificateEntry(KeyStore.java:567) > at org.apache.geronimo.console.core.keystore.KeyStoreGBean.getKeyEntryInfo(KeyStoreGBean.java:179) > ... -- 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