jetbrains.exodus.database.exceptions.ConstraintsValidationException

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web65

  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.