JDBC Connector on fresh 4.2.2 installation not working

Hi everyone,

I’m running a fresh install of OpenIAM Community 4.2.2 on RHEL and I’m having trouble getting the JDBC connector to work. The same setup was working fine on version 4.2.1.14, so I believe this might be a bug introduced in 4.2.2.

The connector service starts without issues and I can see it connecting to RabbitMQ successfully (6 consumers visible in RabbitMQ UI), but the managed system in the UI keeps showing “No active connectors found”. After digging through the logs I found a NullPointerException that repeats indefinitely. I tried downgrading the connector JAR back to 4.2.1.14 but the problem persists, which suggests the issue is on the core side rather than in the connector JAR itself.

Environment:
RPM installation OpenIAM 4.2.2 with external PostgreSQL database
RHEL 9.7
Tested with both jdbc-connector-rabbitmq.jar 4.2.2 and 4.2.1.14

Problem:
After configuring a JDBC Managed System, the connector service starts and connects to RabbitMQ successfully, but the managed system in the UI keeps showing “No active connectors found”.

Full error from /usr/local/openiam/logs/jdbc-connector-rabbitmq.log:
Caused by: java.lang.NullPointerException: Cannot invoke
“java.util.List.forEach(java.util.function.Consumer)” because
the return value of
“org.openiam.idm.srvc.res.dto.ResourceProp.getValues()” is null
at org.openiam.api.connector.model.ConnectorObjectMetaData.
(ConnectorObjectMetaData.java:68)
at org.openiam.connector.core.base.TestConnectionListener
.processingRequest(TestConnectionListener.java:46)

Is this a known bug in 4.2.2? Is there a hotfix or workaround available?

Thank you in advance for your help.
Best regards
Jan

Hello @Bizz,

Sorry for the trouble you’ve encountered. This issue has been identified and is currently being worked on by the team. We will share updates as progress is made.

Thanks,

Ameet

1 Like