[ 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