Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3574

Automated Error Report: MySQLIntegrityConstraintViolationException: Duplicate entry '117543-160167' for key 'PRIMARY'

    XMLWordPrintable

Details

    Description

      Version: 1.9.0 Build 27760
      Implementation ID:
      User ID: admin
      Started Modules: serialization.xstream v0.2.5, logic v0.5.2, reporting v0.7.1.1, patientflags v1.3.4, htmlformentry19ext v0.9, htmlformentry v1.10.0, xforms v4.0.9.5, reportingcompatibility v1.5.7, growthchart v1.7, htmlwidgets v1.6.0

      Summary:
      org.openmrs.api.db.DAOException: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '117543-160167' for key 'PRIMARY'

      Description:
      Stack trace:
      org.openmrs.api.db.hibernate.HibernateConceptDAO.updateConceptSetDerived(HibernateConceptDAO.java:826)
      org.openmrs.api.impl.ConceptServiceImpl.updateConceptSetDerived(ConceptServiceImpl.java:867)
      at [ignored] ...
      $Proxy522.updateConceptSetDerived(Unknown Source)
      at [ignored] ...
      org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
      at [ignored] ...
      $Proxy523.updateConceptSetDerived(Unknown Source)
      at [ignored] ...
      $Proxy523.updateConceptSetDerived(Unknown Source)
      org.openmrs.web.controller.concept.ConceptSetDerivedFormController.onSubmit(ConceptSetDerivedFormController.java:57)
      at [ignored] ...
      <snip>

      I just tried to run this on the VACCINATIONS concept (concept id 1197) on the demo server and got this error:
      could not retrieve snapshot: [org.openmrs.ConceptSetDerived#component[concept,conceptSet]

      {concept=org.openmrs.Concept#5261, conceptSet=org.openmrs.Concept#1197}

      ]

      Gliffy Diagrams

        Attachments

          Activity

            People

              ulakkaraju Uma Lakkaraju
              bwolfe Ben Wolfe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3 hours Original Estimate - 3 hours
                  3h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h