[389-users] NPE in manage certificates

Adrian Bridgett adrian at smop.co.uk
Fri Feb 25 07:58:10 UTC 2011


Just in case anyone else is bitten by this which seems to have several
causes, here's another one.  Thought it worth posting in case it saves
someone else some headscratching time!

Don't install centos-ds-admin and let it pull adminutil from EPEL
(rather than adminutil from centosextras).  If you do, then clicking
"manage certificates" on the LDAP server (not the admin server) yields:

(389-ds-admin-console from ubuntu which is sadly 1.1.3, but I also
tried the windows binary which also errored the same way)
~$ Exception in thread "AWT-EventQueue-0"
java.lang.NullPointerException
at
com.netscape.management.client.security.CertificateDialog.<init>(Unknown
Source)
at
com.netscape.management.client.security.CertificateDialog.<init>(Unknown
Source)
at com.netscape.admin.dirserv.task.KeyCert.run(Unknown Source)
at com.netscape.management.client.TaskModel.actionObjectRun(Unknown
Source)
at
com.netscape.management.client.TaskPage$TaskList$ButtonMouseListener.mouseClicked(Unknown
Source)
at
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
at java.awt.Component.processMouseEvent(Component.java:6111)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:5873)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4469)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4295)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4134)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Currently waiting on our provider to sort their systems out so we can
use RHDS.

Adrian
-- 
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS



More information about the 389-users mailing list