Each time I start OpenDJ Control Panel for embedded OpenDJ, I get the same NullPointerException. Then I search for this workaround:
OPENDS_JAVA_HOME=`/usr/libexec/java_home -v 1.6` ~/openam/opends/bin/control-panel
So I’m posting it here in the hope that I’ll find the workaround faster next time.
(The problem has been fixed in OpenDJ. It must have been fixed after OpenDJ 2.4.5.)