My Oracle Support Banner

jsonResourcesTag empty causing java.lang.NullPointerException in Generic REST connector (Doc ID 2212172.1)

Last updated on JULY 28, 2020

Applies to:

Identity Manager Connector - Version 11.1.1.5.0 to 11.1.1.6.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

When one try to provision an application created using the Generic REST connect which was generated without a jsonResourcesTag, the provisioning fails with following exception:

[2016-12-06T16:39:41.804-05:00] [<OIMSERVER>] [TRACE] [] [ORG.IDENTITYCONNECTORS.FRAMEWORK.API.OPERATIONS.CREATEAPIOP] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <OIM Administrator Login>] [ecid: <ECID>] [APP: oim#11.1.2.0.0] [DSID: <DSID>] [SRC_CLASS: com.thortech.util.logging.Logger] [SRC_METHOD: debug] org.identityconnectors.framework.api.operations.CreateApiOp : create : Exception: [[
java.lang.NullPointerException
at org.identityconnectors.genericrest.utils.GenericRESTUtil.formObjectClasstoParserConfigMap(GenericRESTUtil.java:474)
at org.identityconnectors.genericrest.GenericRESTConnector.initConfigMaps(GenericRESTConnector.java:459)
at org.identityconnectors.genericrest.GenericRESTConnector.init(GenericRESTConnector.java:164)
at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:89)
at com.sun.proxy.$Proxy817.create(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Steps to reproduce:

  1. Generate the application but don't specify a value for jsonResourcesTag in the config section of the Groovy script when generating the Generic REST connector.
  2. Deploy the connector
  3. Try to provision a user to this target resource.

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.