PostgreSQL connectivity loss in Jira DC plugin

Hi all,
There is an issue with a plugin in Jira Data Center, specifically designed for deleting issues. This plugin is intended to conduct a validation check on the database prior to initiating deletion. However, despite the inclusion of a validation query in the dbconfig.xml file, the plugin seems to be losing its connectivity to the database.

"org.ofbiz.core.entity.GenericDataSourceException: SQL Exception occurred on commit (Connection is null.)
at org.ofbiz.core.entity.jdbc.SQLProcessor.commit(SQLProcessor.java:197)
at org.ofbiz.core.entity.jdbc.SQLProcessor.smartCommit(SQLProcessor.java:312)
at org.ofbiz.core.entity.jdbc.SQLProcessor.close(SQLProcessor.java:237) "

please help us to resolve this issue.

Thanks,
Mohan Raj