ConnectorXpress throwing Java NullPointerException trying to map JNDI(DYN) connector to VDS

Document ID : KB000094738
Last Modified Date : 04/05/2018
Show Technical Document Details
Issue:
Testing data source connection is successful but attempting to select the structual and auxilary schemas is causing ConnectorXpress to throw the following Java NullPointerException error: 

java.lang.NullPointerException 
at com.ca.commons.jndi.JNDIAttributeInfo.compareTo(JNDIAttributeInfo.java:23) 
at java.util.TreeMap.put(Unknown Source) 
at java.util.TreeSet.add(Unknown Source) 
at com.ca.commons.jndi.SchemaOps.getObjectClassAttrInfo(SchemaOps.java:1393) 
at com.ca.iam.conxp.jndi.JNDIClassConnectorMapToSelector.getNativeAttributes(JNDIClassConnectorMapToSelector.java:373) 
at com.ca.iam.conman.mapping.editor.SimpleAttributeSelector.<init>(SimpleAttributeSelector.java:113) 
at com.ca.iam.conman.mapping.editor.AttributeMappingTable.createPopup(AttributeMappingTable.java:253) 
at com.ca.iam.conman.mapping.editor.AttributeMappingTable.access$000(AttributeMappingTable.java:56) 
at com.ca.iam.conman.mapping.editor.AttributeMappingTable$1.processEvent(AttributeMappingTable.java:310) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at buoy.internal.EventLinkRecord.dispatchEvent(EventLinkRecord.java:100) 
at buoy.event.EventSource.dispatchEvent(EventSource.java:140) 
at buoy.widget.Widget.dispatchEvent(Widget.java:326) 
at buoy.internal.EventLinkAdapter.dispatchEvent(EventLinkAdapter.java:212) 
at buoy.internal.EventLinkAdapter.mouseReleased(EventLinkAdapter.java:108) 
at java.awt.Component.processMouseEvent(Unknown Source) 
at javax.swing.JComponent.processMouseEvent(Unknown Source) 
at java.awt.Component.processEvent(Unknown Source) 
at java.awt.Container.processEvent(Unknown Source) 
at java.awt.Component.dispatchEventImpl(Unknown Source) 
at java.awt.Container.dispatchEventImpl(Unknown Source) 
at java.awt.Component.dispatchEvent(Unknown Source) 
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) 
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) 
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) 
at java.awt.Container.dispatchEventImpl(Unknown Source) 
at java.awt.Window.dispatchEventImpl(Unknown Source) 
at java.awt.Component.dispatchEvent(Unknown Source) 
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) 
at java.awt.EventQueue.access$500(Unknown Source) 
at java.awt.EventQueue$3.run(Unknown Source) 
at java.awt.EventQueue$3.run(Unknown Source) 
at java.security.AccessController.doPrivileged(Native Method) 
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) 
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) 
at java.awt.EventQueue$4.run(Unknown Source) 
at java.awt.EventQueue$4.run(Unknown Source) 
at java.security.AccessController.doPrivileged(Native Method) 
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) 
at java.awt.EventQueue.dispatchEvent(Unknown Source) 
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) 
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) 
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) 
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
at java.awt.EventDispatchThread.run(Unknown Source)
Resolution:
The view Virtual Directory Server (VDS) created was using multiple LDAP schemas. The schemas are all brought in to VDS, but for the schema to be accessed the schema needs to be selected and published on the VDS side so that the schema can be externally accessible.