-
When I removed
Dependfrom the list of mappings the issue went away (I only leftRelates,DuplicateandSubtask). Not sure how the names are populated/detected though... -
OneDev
changed state to 'Closed' 3 years ago
Previous Value Current Value Open
Closed
-
OneDev
changed state to 'Released' 3 years ago
Previous Value Current Value Closed
Released
-
State changed as build #3255 is successful
-
Previous Value Current Value Released
Open
-
After the upgrade and trying to run the upgrade I got another exception:
org.hibernate.TransactionException: Unable to rollback against JDBC Connection at org.hibernate.resource.jdbc.internal.AbstractLogicalConnectionImplementor.rollback(AbstractLogicalConnectionImplementor.java:127) at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.rollback(JdbcResourceLocalTransactionCoordinatorImpl.java:304) at org.hibernate.engine.transaction.internal.TransactionImpl.rollback(TransactionImpl.java:142) at io.onedev.server.persistence.DefaultTransactionManager$1.call(DefaultTransactionManager.java:76) at io.onedev.server.persistence.DefaultSessionManager.call(DefaultSessionManager.java:90) at io.onedev.server.persistence.DefaultTransactionManager.call(DefaultTransactionManager.java:60) at io.onedev.server.web.page.project.imports.ProjectImportPage$1$1.runTask(ProjectImportPage.java:75) at io.onedev.server.web.component.taskbutton.TaskButton$2.call(TaskButton.java:173) at io.onedev.server.web.component.taskbutton.TaskButton$2.call(TaskButton.java:144) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at io.onedev.server.security.SecurityUtils$1.run(SecurityUtils.java:367) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.sql.SQLException: Connection is closed at com.zaxxer.hikari.pool.ProxyConnection$ClosedConnection.lambda$getClosedConnection$0(ProxyConnection.java:490) at com.sun.proxy.$Proxy114.rollback(Unknown Source) at com.zaxxer.hikari.pool.ProxyConnection.rollback(ProxyConnection.java:377) at com.zaxxer.hikari.pool.HikariProxyConnection.rollback(HikariProxyConnection.java) at org.hibernate.resource.jdbc.internal.AbstractLogicalConnectionImplementor.rollback(AbstractLogicalConnectionImplementor.java:121) ... 13 moreLooks like (other) hidden error that caused rolback to fail...
Removing
Dependallowed to proceed with import -
Are you able to reproduce this issue with a simple YouTrack setup? This will help a lot to find out the reason.
-
Unfortunately it happens only on our YouTrack setup and only about halfway through the import process. I guess there is some project with some issue that has weird linking that triggers the exception. There is no error message that includes project name / issue name|number that would help me track down offending item.
-
Logging project/issue does not help here as it happens when committing the transaction with all imported issues.
-
Previous Value Current Value Open
Closed
-
Closed as can not be reproduced. Feel free to reopen if there is more clue
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
Not Found
|
SQLIntegrityConstraintViolationException: Duplicate entry '5572-5571-3' for key 'o_IssueLink.UK8ai6ka1c9ohy0p7ce1why5i11'Unfortunately, the error log is very uninformative: there is no indication which project/issue caused the problem or which linking triggered it.