java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (XXX.PROJECTS_KEE) violated

Stack Overflow | Matt | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Unique constraint violation thrown by sonarqube 5.6 analysis

    Stack Overflow | 8 months ago | Matt
    java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (XXX.PROJECTS_KEE) violated

    Root Cause Analysis

    1. java.sql.SQLIntegrityConstraintViolationException

      ORA-00001: unique constraint (XXX.PROJECTS_KEE) violated

      at org.apache.ibatis.exceptions.ExceptionFactory.wrapException()
    2. MyBatis
      MapperProxy.invoke
      1. org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26)[mybatis-3.2.7.jar:3.2.7]
      2. org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:154)[mybatis-3.2.7.jar:3.2.7]
      3. org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:141)[mybatis-3.2.7.jar:3.2.7]
      4. org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:51)[mybatis-3.2.7.jar:3.2.7]
      5. org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52)[mybatis-3.2.7.jar:3.2.7]
      5 frames
    3. com.sun.proxy
      $Proxy38.insert
      1. com.sun.proxy.$Proxy38.insert(Unknown Source)[na:na]
      1 frame
    4. org.sonar.db
      ComponentDao.insert
      1. org.sonar.db.component.ComponentDao.insert(ComponentDao.java:278)[sonar-db-5.6.jar:na]
      1 frame
    5. org.sonar.server
      PathAwareCrawler.visit
      1. org.sonar.server.computation.step.PersistComponentsStep$PersistComponentStepsVisitor.persistComponent(PersistComponentsStep.java:171)[sonar-server-5.6.jar:na]
      2. org.sonar.server.computation.step.PersistComponentsStep$PersistComponentStepsVisitor.persistAndPopulateCache(PersistComponentsStep.java:163)[sonar-server-5.6.jar:na]
      3. org.sonar.server.computation.step.PersistComponentsStep$PersistComponentStepsVisitor.visitDirectory(PersistComponentsStep.java:135)[sonar-server-5.6.jar:na]
      4. org.sonar.server.computation.component.PathAwareCrawler.visitNode(PathAwareCrawler.java:102)[sonar-server-5.6.jar:na]
      5. org.sonar.server.computation.component.PathAwareCrawler.visitImpl(PathAwareCrawler.java:67)[sonar-server-5.6.jar:na]
      6. org.sonar.server.computation.component.PathAwareCrawler.visit(PathAwareCrawler.java:50)[sonar-server-5.6.jar:na]
      6 frames