Failed to start IAM Portal connector

book

Article ID: 194115

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

The IDM connector in Identity Portal fails to start for the below reason:

Caused by: java.lang.IllegalArgumentException: Reload connector failed
        at com.idmlogic.sigma.connector.ca.CaimAdapterBase.reload(CaimAdapterBase.java:101) [sigma.connector.ca.im-0.0.2-SNAPSHOT.jar:]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_71]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_71]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_71]
        at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_71]
        at com.idmlogic.sigma.workers.utils.ConnectorInvocationHandler.invoke(ConnectorInvocationHandler.java:34) [sigma.bl-0.0.2-SNAPSHOT.jar:]
        at com.sun.proxy.$Proxy278.reload(Unknown Source)
        at com.idmlogic.sigma.manager.impl.AdapterManagerBean.reload(AdapterManagerBean.java:126) [sigma.bl-0.0.2-SNAPSHOT.jar:]
        ... 76 more
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
        at com.idmlogic.sigma.connector.ca.CaimAdapterBase.start(CaimAdapterBase.java:80) [sigma.connector.ca.im-0.0.2-SNAPSHOT.jar:]
        at com.idmlogic.sigma.connector.ca.CaimAdapterBase.reload(CaimAdapterBase.java:96) [sigma.connector.ca.im-0.0.2-SNAPSHOT.jar:]
        ... 83 more
Caused by: java.lang.NullPointerException
        at com.idmlogic.sigma.connector.ca.tews.WsdlInterceptor.removePortOperation(WsdlInterceptor.java:492) [sigma.connector.ca.im-0.0.2-SNAPSHOT.jar:]
        at com.idmlogic.sigma.connector.ca.tews.WsdlInterceptor.removeOperation(WsdlInterceptor.java:260) [sigma.connector.ca.im-0.0.2-SNAPSHOT.jar:]
        at com.idmlogic.sigma.connector.ca.tews.TewsServiceFactory.filter(TewsServiceFactory.java:91) [sigma.connector.ca.im-0.0.2-SNAPSHOT.jar:]
        at com.idmlogic.sigma.connector.ca.tews.TewsServiceFactory.configure(TewsServiceFactory.java:36) [sigma.connector.ca.im-0.0.2-SNAPSHOT.jar:]
        at com.idmlogic.sigma.connector.ca.CaimAdapterBase.configureTews(CaimAdapterBase.java:154) [sigma.connector.ca.im-0.0.2-SNAPSHOT.jar:]
        at com.idmlogic.sigma.connector.ca.CaimAdapterBase.start(CaimAdapterBase.java:66) [sigma.connector.ca.im-0.0.2-SNAPSHOT.jar:]
        ... 84 more

Corresponding logs in Identity Manager indicate an issue with the following:

2020-06-30 12:39:00,946 ERROR [ims.default] (default task-15) Unable to get screen for com.netegrity.ims.tabhandlers.AssigneesTabHandler
2020-06-30 12:39:00,946 ERROR [ims.tmt.SchemaModKeyAdapter] (default task-15) could not get ObjectAdapterMetaData using property metadata on [email protected]
2020-06-30 12:39:00,946 ERROR [ims.tews6.SchemaGenerator] (default task-15) null: java.lang.NullPointerException

Cause

A task with web services enabled has a tab with missing required information

Environment

Release : 14.x

Component : CA IDENTITY SUITE (VIRTUAL APPLIANCE)

Resolution

Based off the error message you can review your roles and tasks xml for the missing information. 

For example:

  <Tab tag="WorkItemAssignees" tabdefinition="WorkItemAssignees">
   <PropertyDict name="Config">
    <Property name="Hide">0</Property>
    <Property name="Name">imstask.label.tab.assignees</Property>
   </PropertyDict>

The above is missing the required search screens.  Once the screens are added, the connector starts successfully. 

Additional Information

Please note this can occur for any of the tabs.  In order to determine more information it recommended to put IDM in DEBUG mode and reproduce your issue.  This will help you in determining the task with the issue.