L3 Support
  1. L3 Support
  2. LS-842

error during the import process in WB,UW,KL circle, causing the NEP to go down daily.

    Details

    • 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

        Activity

        Priyasha Tiwari made changes -
        Time Spent 3 hours [ 10800 ] 6 hours [ 21600 ]
        Worklog Id 287904 [ 287904 ]
        Srishti Kashyap made changes -
        Status Open Bug [ 10108 ] Rejected [ 10100 ]
        Assignee Srishti Kashyap [ skashyap ] Basant Kumar [ bkumar ]
        Resolution Fixed [ 1 ]
        Basant Kumar made changes -
        Time Spent 2 hours [ 7200 ] 3 hours [ 10800 ]
        Worklog Id 287549 [ 287549 ]
        Priyasha Tiwari made changes -
        Attachment server-25-12-2025-21-00.log_KL.tgz [ 125101 ]
        Attachment server-25-12-2025-21-00.log_UW.tgz [ 125102 ]
        Attachment server-25-12-2025-21-00.log_WB.tgz [ 125103 ]
        Priyasha Tiwari made changes -
        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.
        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
        Priyasha Tiwari made changes -
        Labels NEP_D
        Srishti Kashyap made changes -
        Baseline Start 2025-12-26 24:00 (set baseline based of initial work logging)
        Baseline End 2025-12-26 24:00 (set baseline based of initial work logging)
        Srishti Kashyap made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 2 hours [ 7200 ]
        Worklog Id 287412 [ 287412 ]
        Basant Kumar made changes -
        Assignee Khaled Khalil [ kkhalil ] Srishti Kashyap [ skashyap ]
        Bkumar made changes -
        Field Original Value New Value
        Gantt Options Milestone (set to milestone: having a due date but zero effort)
        Planned Start 2025-12-26 24:00 (milestone: set planned start date to due date)
        Planned End 2025-12-26 24:00 (milestone: set planned end date to due date)

          People

          • Assignee:
            Basant Kumar
            Reporter:
            Basant Kumar
            Rejected By:
            Srishti Kashyap
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:
              Planned Start:
              Planned End:
              Actual Start:
              Date of Baselining:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 6 hours
              6h

                Drag and Drop