My Oracle Support Banner

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

Last updated on DECEMBER 06, 2021

Applies to:

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


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#] [DSID: <DSID>] [SRC_CLASS: com.thortech.util.logging.Logger] [SRC_METHOD: debug] org.identityconnectors.framework.api.operations.CreateApiOp : create : Exception: [[
at org.identityconnectors.genericrest.utils.GenericRESTUtil.formObjectClasstoParserConfigMap(
at org.identityconnectors.genericrest.GenericRESTConnector.initConfigMaps(
at org.identityconnectors.genericrest.GenericRESTConnector.init(
at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(
at com.sun.proxy.$Proxy817.create(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(

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.


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.