NullPointer exception custom connector

Hello Experts,

We are facing below exception in identitynow custom connector.

{“exception”:{“stacktrace”:“sailpoint.connector.ConnectorException: NullPointerException\n\tat com.sailpoint.ccg.cloud.container.Container.testConnection(Container.java:358)\n\tat com.sailpoint.ccg.cloud.container.ContainerIntegration.ping(ContainerIntegration.java:73)\n\tat com.sailpoint.ccg.handler.TestConnectionHandler.invoke(TestConnectionHandler.java:29)\n\tat sailpoint.gateway.accessiq.CcgPipelineMessageHandler.handleMessage_aroundBody0(CcgPipelineMessageHandler.java:47)\n\tat sailpoint.gateway.accessiq.CcgPipelineMessageHandler$AjcClosure1.run(CcgPipelineMessageHandler.java:1)\n\tat org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:167)\n\tat com.sailpoint.tracing.otel.TracedAspect.lambda$traceExecution$0(TracedAspect.java:34)\n\tat com.sailpoint.tracing.otel.GlobalTracer.trace(GlobalTracer.java:157)\n\tat com.sailpoint.tracing.otel.GlobalTracer.trace(GlobalTracer.java:136)\n\tat com.sailpoint.tracing.otel.GlobalTracer.trace(GlobalTracer.java:124)\n\tat com.sailpoint.tracing.otel.TracedAspect.traceExecution(TracedAspect.java:36)\n\tat sailpoint.gateway.accessiq.CcgPipelineMessageHandler.handleMessage(CcgPipelineMessageHandler.java:36)\n\tat com.sailpoint.pipeline.server.PipelineServer$InboundQueueListener$MessageHandler.run(PipelineServer.java:369)\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: sailpoint.connector.ConnectorException: NullPointerException\n\tat sailpoint.connector.OpenConnectorAdapter.instantiateConnector(OpenConnectorAdapter.java:165)\n\tat sailpoint.connector.OpenConnectorAdapter.createConnector(OpenConnectorAdapter.java:193)\n\tat sailpoint.connector.OpenConnectorAdapter.testConfiguration(OpenConnectorAdapter.java:786)\n\tat sailpoint.connector.ConnectorProxy.testConfiguration(ConnectorProxy.java:411)\n\tat com.sailpoint.ccg.cloud.container.Container.testConnection(Container.java:351)\n\t… 17 more\nCaused by: java.lang.NullPointerException\n\tat connector.AuthoritativeSource.(AuthoritativeSource.java:38)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)\n\tat java.base/java.lang.Class.newInstance(Class.java:584)\n\tat sailpoint.connector.OpenConnectorAdapter.instantiateConnector(OpenConnectorAdapter.java:160)\n\t… 21 more\n”,“exception_class”:“sailpoint.connector.ConnectorException”,“exception_message”:“NullPointerException”},“stack”:“ccg”,“pod”:“cook”,“connector-logging”:“150”,“Operation”:“TestConfiguration”,“clusterId”:“2496”,“buildNumber”:“948”,“apiUsername”:“b88dd0b0-1161-412e-9adb-a4d399c91b94”,“orgType”:“”,“file”:“BaseHandler.java”,“encryption”:“1266”,“messageType”:“test-connection”,“connector-bundle-identityiq”:“207”,“line_number”:230,“@version”:1,“cloud-modules-api”:“1477”,“logger_name”:“com.sailpoint.ccg.handler.BaseHandler”,“mantis-client”:“1266”,“class”:“com.sailpoint.ccg.handler.BaseHandler”,“atlas-api”:“1823”,“va-gateway-client”:“46”,“tracing”:“1391”,“clientId”:“b88dd0b0-1161-412e-9adb-a4d399c91b94”,“request_milliseconds”:“5247”,“source_host”:“f5bfea4a41fe”,“method”:“handleException”,“org”:“partner204”,“level”:“ERROR”,“IdentityIQ”:“8.3p4 Build 1527a593753-20230805-223436”,“message”:“Exception “,“pipeline”:“1266”,”@timestamp”:“2024-02-20T10:05:01.924Z”,“thread_name”:“pool-6-thread-2”,“atlas-util”:“1823”,“metrics”:“1266”,“region”:“us-east-1”,“AppType”:“custom RHEL”,“Application”:“RHEL87 [source]”,“request_id”:“d9dbb05135bb44bfae7db235e4ab93d8”,“queue”:“cook-partner204-cluster-2496”,“SCIM Common”:“8.0 Build 00b1f252d1b-20200225-190809”}

Same code I used an year back and it was fine. I see recently custom connector development is changed. Can someone provide any documentation? Also let me know if you have any idea on above error.

Thanks,
Abhinov

Hi there,

I believe there’s an update related to the UI for custom connectors.

Check out below link for more information on the update and documentation:

All the best!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.