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

        Hide
        Priyasha Tiwari added a comment -

        ERROR DETAIL AND LOGS ATTACHED

        Show
        Priyasha Tiwari added a comment - ERROR DETAIL AND LOGS ATTACHED
        Hide
        Srishti Kashyap added a comment -

        found exception during trying update of SAMSUNG manufacturer manual by gui..when retested on PROD didnt found same error. ITs resolved.

        Show
        Srishti Kashyap added a comment - found exception during trying update of SAMSUNG manufacturer manual by gui..when retested on PROD didnt found same error. ITs resolved.
        Hide
        Khaled Khalil added a comment -

        to check the constraint on test platform and prod why we have that issue and if it can happen on other circle / schema

        Show
        Khaled Khalil added a comment - to check the constraint on test platform and prod why we have that issue and if it can happen on other circle / schema

          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