Preview LDAP Users in Java Client Shows Error NullPointerException

(Doc ID 2384269.1)

Last updated on APRIL 09, 2018

Applies to:

Oracle Agile PLM Framework - Version 9.3.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 9.3.3.0 version, Directory Access Protocol


When attempting to preview users in the Java Client the following error occurs in Java Console.

ERROR
----------------------
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
at com.agile.admin.ldap.DirService.searchByGroupFilter(DirService.java:684)
at com.agile.admin.ldap.SunDirService.getDirtyUsers(SunDirService.java:118)
at com.agile.admin.ldap.LDAPUtil.checkLDAPUsers(LDAPUtil.java:101)
at com.agile.admin.ldap.LDAPUtil.checkLDAPConfig(LDAPUtil.java:285)
at com.agile.admin.ldap.LDAPUtil.previewLDAPUsers(LDAPUtil.java:215)
at com.agile.pc.cmserver.user.UserSessionBean.previewLDAPUsers(UserSessionBean.java:2076)
at com.agile.pc.cmserver.user.UserSessionBean_qy39gj_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:32)
at com.agile.pc.cmserver.user.UserSessionBean_qy39gj_EOImpl.previewLDAPUsers(Unknown Source)
at com.agile.pc.cmserver.user.UserSessionBean_qy39gj_EOImpl_WLSkel.internalInvoke3(Unknown Source)
at com.agile.pc.cmserver.user.UserSessionBean_qy39gj_EOImpl_WLSkel.internalInvoke2(Unknown Source)
at com.agile.pc.cmserver.user.UserSessionBean_qy39gj_EOImpl_WLSkel.internalInvoke1(Unknown Source)
at com.agile.pc.cmserver.user.UserSessionBean_qy39gj_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:695)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:520)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:516)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. login Java client
2. Go to Admin tab| Server settings| LDAP - LDAP Configuration Editor
3. Click Preview




Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms