-
Bug
-
Resolution: Fixed
-
Low
-
8.15.0, 8.16.1
-
8.15
-
1
-
Severity 2 - Major
-
Issue Summary
DVCSConnector.MessageExecutor fails to consume message on updating pull requests locally with failure message >> "Invalid column name 'REQUEST_ID'"
Steps to Reproduce
- Upgrade to Jira 8.16.
- Let the DVCS sync work as usual with updates on GitHub coming in.
Expected Results
Pull request updates happens seamlessly.
Actual Results
The below exception is thrown in the atlassian-jira.log file:
com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'REQUEST_ID'. at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.deleteWithSQL(EntityManagedActiveObjects.java:128) at com.atlassian.jira.plugins.dvcs.dao.impl.RepositoryPullRequestDaoImpl.lambda$removeDuplicates$2(RepositoryPullRequestDaoImpl.java:152) at java.lang.Iterable.forEach(Iterable.java:75) at com.atlassian.jira.plugins.dvcs.dao.impl.RepositoryPullRequestDaoImpl.removeDuplicates(RepositoryPullRequestDaoImpl.java:151) at com.atlassian.jira.plugins.dvcs.dao.impl.RepositoryPullRequestDaoImpl.lambda$savePullRequest$0(RepositoryPullRequestDaoImpl.java:112) at com.atlassian.jira.plugins.dvcs.dao.impl.RepositoryPullRequestDaoImpl.savePullRequest(RepositoryPullRequestDaoImpl.java:108) at com.atlassian.jira.plugins.dvcs.service.PullRequestServiceImpl.createPullRequest(PullRequestServiceImpl.java:119) at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestProcessor.updateLocalPullRequest(GitHubPullRequestProcessor.java:126) at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestProcessor.processPullRequest(GitHubPullRequestProcessor.java:90) at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestProcessor.processPullRequest(GitHubPullRequestProcessor.java:83) at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:75) at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:25) at com.atlassian.jira.plugins.dvcs.service.MessageExecutor$MessageRunnable.doRun(MessageExecutor.java:342) at com.atlassian.jira.plugins.dvcs.service.MessageExecutor$ReleaseTokenAndEnqueueNextMessage.run(MessageExecutor.java:256) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'REQUEST_ID'. at net.java.ao.ForwardingPreparedStatement.executeUpdate(ForwardingPreparedStatement.java:45) at net.java.ao.ParameterMetadataCachingPreparedStatement.executeUpdate(ParameterMetadataCachingPreparedStatement.java:10) at net.java.ao.EntityManager.deleteWithSQL(EntityManager.java:593) at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.deleteWithSQL(EntityManagedActiveObjects.java:126) ... 94 more
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available