jetbrains.exodus.database.exceptions.ConstraintsValidationException: Constrains validation exception. Causes: 1: Cardinality violation for [TimeTrackingSettings: id = 116-1.project]. Required cardinality is [1]

YouTrack | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Time tracking refactoring fails on 7.0 upgrade

    YouTrack | 5 months ago
    jetbrains.exodus.database.exceptions.ConstraintsValidationException: Constrains validation exception. Causes: 1: Cardinality violation for [TimeTrackingSettings: id = 116-1.project]. Required cardinality is [1]
  2. 0

    Cannot switch swimlane identify filed

    YouTrack | 4 years ago
    jetbrains.exodus.database.exceptions.ConstraintsValidationException: Constrains validation exception. Causes: 1: Bad value.
  3. 0

    Cannot log in via openID

    YouTrack | 4 years ago
    jetbrains.exodus.database.exceptions.ConstraintsValidationException: Constrains validation exception. Causes: 1: Public association handle can't be empty!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't select swimlane as Attribute

    YouTrack | 4 years ago
    jetbrains.exodus.database.exceptions.ConstraintsValidationException: Constrains validation exception. Causes: 1: Field should have enum[1] type.
  6. 0

    Can't create new column due to exception

    YouTrack | 4 years ago
    jetbrains.exodus.database.exceptions.ConstraintsValidationException: Constrains validation exception. Causes: 1: Index [name, bundle] must be unique.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. jetbrains.exodus.database.exceptions.ConstraintsValidationException

      Constrains validation exception. Causes: 1: Cardinality violation for [TimeTrackingSettings: id = 116-1.project]. Required cardinality is [1]

      at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.checkBeforeSaveChangesConstraints()
    2. JetBrains teamsys
      TransientSessionImpl.flush
      1. com.jetbrains.teamsys.dnq.database.TransientSessionImpl.checkBeforeSaveChangesConstraints(TransientSessionImpl.java:682)
      2. com.jetbrains.teamsys.dnq.database.TransientSessionImpl.flushChanges(TransientSessionImpl.java:750)
      3. com.jetbrains.teamsys.dnq.database.TransientSessionImpl.flush(TransientSessionImpl.java:210)
      3 frames
    3. JetBrains charisma
      Refactoring.doUnit
      1. jetbrains.charisma.refactoring.RefactoringUtil.doUnit(RefactoringUtil.java:71)
      2. jetbrains.charisma.refactoring.RefactoringUtil.doUnit(RefactoringUtil.java:32)
      3. jetbrains.charisma.refactoring.Refactoring.doUnit(Refactoring.java:49)
      3 frames
    4. jetbrains.youtrack.timetracking
      RefactoringCreateTimeTrackingSettingsForAllProjects.apply
      1. jetbrains.youtrack.timetracking.refactoring.RefactoringCreateTimeTrackingSettingsForAllProjects.apply(RefactoringCreateTimeTrackingSettingsForAllProjects.java:20)
      1 frame
    5. JetBrains charisma
      Refactoring$4.invoke
      1. jetbrains.charisma.refactoring.Refactoring$4.invoke(Refactoring.java:128)
      1 frame
    6. JetBrains teamsys
      _Txn.run
      1. jetbrains.teamsys.dnq.runtime.txn._Txn.run(_Txn.java:24)
      1 frame
    7. JetBrains charisma
      Refactoring$2.visit
      1. jetbrains.charisma.refactoring.Refactoring.applyRefactoring(Refactoring.java:126)
      2. jetbrains.charisma.refactoring.Refactoring.access$000(Refactoring.java:24)
      3. jetbrains.charisma.refactoring.Refactoring$2.visit(Refactoring.java:93)
      4. jetbrains.charisma.refactoring.Refactoring$2.visit(Refactoring.java:91)
      4 frames
    8. JetBrains mps
      Sequence.visitAll
      1. jetbrains.mps.internal.collections.runtime.IVisitor.invoke(IVisitor.java:14)
      2. jetbrains.mps.internal.collections.runtime.IterableUtils.visitAll(IterableUtils.java:17)
      3. jetbrains.mps.internal.collections.runtime.Sequence.visitAll(Sequence.java:85)
      3 frames
    9. JetBrains charisma
      InitWebApplicationServiceLocatorListener.onAfterInit
      1. jetbrains.charisma.refactoring.Refactoring.applyAll(Refactoring.java:91)
      2. jetbrains.charisma.main.YouTrackInit.init(YouTrackInit.java:92)
      3. jetbrains.charisma.main.InitWebApplicationServiceLocatorListener.onAfterInit(InitWebApplicationServiceLocatorListener.java:9)
      3 frames
    10. JetBrains springframework
      ServiceLocator.fireLocalAfterInit
      1. jetbrains.springframework.configuration.runtime.ServiceLocator.fireLocalAfterInit(ServiceLocator.java:111)
      1 frame
    11. JetBrains charisma
      LastModifiedAwareMainServlet.init
      1. jetbrains.charisma.main.ServletImpl.init(ServletImpl.java:38)
      2. jetbrains.charisma.main.LastModifiedAwareMainServlet.init(LastModifiedAwareMainServlet.java:36)
      2 frames
    12. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:244)
      1 frame
    13. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)
      2. org.eclipse.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:468)
      3. org.eclipse.jetty.servlet.ServletHolder.ensureInstance(ServletHolder.java:763)
      4. org.eclipse.jetty.servlet.ServletHolder.prepare(ServletHolder.java:748)
      5. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
      6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      7. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      8. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      9. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      10. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      11. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      12. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      13. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      14. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
      15. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
      16. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      17. org.eclipse.jetty.server.Server.handle(Server.java:497)
      18. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
      19. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      20. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      21. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      22. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      22 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame