Details
-
Type:
Bug
-
Status:
Rejected
(View Workflow)
-
Priority:
Urgent
-
Resolution: Fixed
-
Component/s: NEP
-
Customer:Airtel India
Description
As Checked, we are encountering an error during the import process in WB,UW,KL circle, causing the NEP to go down daily.
This issue has been occurring for the past two days.
Please find the below error for your reference.
Kindly review and provide your suggestions.
sourceLocalTransactionCoordinatorImpl.java:231) [hibernate-core-5.1.10.Final.jar:5.1.10.Final]
at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:65) [hibernate-core-5.1.10.Final.jar:5.1.10.Final]
at org.springframework.orm.hibernate5.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:582) [spring-orm-4.3.7.RELEASE.jar:4.3
.7.RELEASE]
... 13 more
Caused by: java.sql.BatchUpdateException: ORA-00001: unique constraint (WEST_BENGAL.SYS_C00186224) violated
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:11190) [ojdbc7-12.1.0.2.jar:12.1.0.1.0]
at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:244) [ojdbc7-12.1.0.2.jar:12.1.0.1.0]
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1135) [c3p0-0.9.2.1.jar:0.9.2.1]
at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110) [hibernate-core-5.1.10.Final.jar:5.1.10.Final]
... 30 more
2025-12-25 20:31:02,078 INFO [stdout] (AsyncAppender-Dispatcher-Thread-102)
2025-12-25 20:31:02,305 INFO [stdout] (AsyncAppender-Dispatcher-Thread-102) 20:31:02-[ERROR][SqlExceptionHelper][Thread-117] ORA-00001: unique constraint
(WEST_BENGAL.SYS_C00186224) violated
2025-12-25 20:31:02,318 INFO [stdout] (AsyncAppender-Dispatcher-Thread-102)
2025-12-25 20:31:02,319 ERROR [com.mobinets.nep.npt.db.ThreadSaveContainer] (Thread-117) Error while saving: java.lang.RuntimeException: com.mobinets.nep.
npt.service.model.NptException: com.mobinets.nps.model.exception.NpsException: org.springframework.dao.DataIntegrityViolationException: could not execute
batch; SQL [update MANUFACTURER set CHANGEDATE=?, CHANGEDBY=?, EXTERNAL_CODE=?, INSERTEDBY=?, INSERTDATE=?, NET_STATUS=?, SUBNETSTATUS=?, CatalogID=?, isD
efault=?, Name=? where ManufacturerID=?]; constraint [WEST_BENGAL.SYS_C00186224]; nested exception is org.hibernate.exception.ConstraintViolationException
: could not execute batch
at com.mobinets.nep.npt.db.SaveRunner.run(SaveRunner.java:66) [npt_server.jar:]
at com.mobinets.nep.npt.db.ThreadSaveContainer$1.run(ThreadSaveContainer.java:77) [npt_server.jar:]
Caused by: com.mobinets.nep.npt.service.model.NptException: com.mobinets.nps.model.exception.NpsException: org.springframework.dao.DataIntegrityViolationE
xception: could not execute batch; SQL [update MANUFACTURER set CHANGEDATE=?, CHANGEDBY=?, EXTERNAL_CODE=?, INSERTEDBY=?, INSERTDATE=?, NET_STATUS=?, SUBNETSTATUS=?, CatalogID=?, isDefault=?, Name=? where ManufacturerID=?]; constraint [WEST_BENGAL.SYS_C00186224]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute batch
... 2 more
Caused by: com.mobinets.nps.model.exception.NpsException: org.springframework.dao.DataIntegrityViolationException: could not execute batch; SQL [update MA
ERROR DETAIL AND LOGS ATTACHED