-
Bug
-
Resolution: Fixed
-
High
-
Minor
-
.
- was cloned as
-
JSWSERVER-14157 GitHub synchronization not working and pull requests are not synchronized due to NoSuchMethodError
-
- Closed
-
- clones
-
BBC-750 Failed to load
Form Name |
---|
[JRACLOUD-86439] GitHub synchronization not working and pull requests are not synchronized due to NoSuchMethodError
Component/s | Original: Site - Settings - DVCS Accounts [ 46732 ] | |
Component/s | New: Integration - Dvcs accounts [ 77936 ] | |
Key |
Original:
|
New:
|
Symptom Severity | New: Minor [ 16130 ] | |
Affects Version/s | Original: DCON - old releases [ 70362 ] | |
Description |
Original:
This is due to an incorrect build of the 2.1 jar file.
h3. Impacts This affects 6.3-OD1 (released on 31 Mar 2014). It affects GitHub synchronization where there's at least one PR. h3. Cause It is causing the wrong egit {{PullRequest}} class to be loaded into the jar in the original 2.1 jar file uploaded to maven.atlassian.com. The DVCS Connector has its own copy of egit {{PullRequest}} class but it's not properly included in the original 2.1 jar file. In original 2.1 jar file: {code} 2014-03-12 13:16:08 ..... 7489 2140 org/eclipse/egit/github/core/PullRequest.class {code} In the 2.1.3 jar file (with the correct {{PullRequest}} class): {code} 2012-12-03 17:10:00 ..... 7276 2062 org/eclipse/egit/github/core/PullRequest.class {code} This affected the 6.3 OD1 release, with the following errors when synchronizing GitHub requests: {quote} @40000000533ca2100c23c3e4 2014-04-03 10:49:26,200 pool-15-thread-1 ERROR nmason 649x480x1 esyrp 59.167.133.1,59.167.29.201 /rest/bitbucket/1.0/repository/12/fullsync [dvcs.service.message.MessageConsumer] org.eclipse.egit.github.core.PullRequest.getReviewComments()I @40000000533ca2100c23d384 java.lang.NoSuchMethodError: org.eclipse.egit.github.core.PullRequest.getReviewComments()I @40000000533ca2100c23d76c at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.updateCommentsCount(GitHubPullRequestSynchronizeMessageConsumer.java:292) @40000000533ca2100c241204 at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.processPullRequestComments(GitHubPullRequestSynchronizeMessageConsumer.java:242) @40000000533ca2100c2415ec at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:109) @40000000533ca2100c241dbc at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:40) @40000000533ca2100c2421a4 at com.atlassian.jira.plugins.dvcs.service.MessageExecutor$MessageRunnable.run(MessageExecutor.java:273) @40000000533ca2100c243144 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @40000000533ca2100c24352c at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @40000000533ca2100c24352c at java.lang.Thread.run(Thread.java:662) @40000000533ca2100d074614 Exception in thread "pool-15-thread-1" java.lang.NoSuchMethodError: org.eclipse.egit.github.core.PullRequest.getReviewComments()I @40000000533ca2100d07c314 at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.updateCommentsCount(GitHubPullRequestSynchronizeMessageConsumer.java:292) @40000000533ca2100d07f1f4 at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.processPullRequestComments(GitHubPullRequestSynchronizeMessageConsumer.java:242) @40000000533ca2100d08539c at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:109) @40000000533ca2100d08633c at com.atlassian.jira.plugins.dvcs.sync.GitHubPullRequestSynchronizeMessageConsumer.onReceive(GitHubPullRequestSynchronizeMessageConsumer.java:40) @40000000533ca2100d08b15c at com.atlassian.jira.plugins.dvcs.service.MessageExecutor$MessageRunnable.run(MessageExecutor.java:273) @40000000533ca2100d08e80c at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @40000000533ca2100d095d3c at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @40000000533ca2100d096124 at java.lang.Thread.run(Thread.java:662) {quote} We could not rebuild and redeploy a good version due to https://ecosystem.atlassian.net/browse/AMPS-1112 |
New: . |
Project | Original: Jira Cloud [ 18511 ] | New: Jira Platform Cloud [ 18514 ] |
Workflow | Original: JSWCLOUD Bug Workflow [ 3193600 ] | New: JAC Bug Workflow v3 [ 3474445 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1553505 ] | New: JSWCLOUD Bug Workflow [ 3193600 ] |
Component/s | New: DVCS Accounts [ 46732 ] | |
Component/s | Original: DVCS Accounts [ 43316 ] | |
Key |
Original:
|
New:
|
Affects Version/s | New: DCON - old releases [ 70362 ] | |
Affects Version/s | Original: DCON - old releases [ 62520 ] | |
Project | Original: JIRA Software (including JIRA Agile) [ 12200 ] | New: JIRA Software for Cloud [ 18511 ] |
Labels | Original: migrated_from_dcon | New: affects-cloud migrated_from_dcon |
Component/s | New: DVCS Accounts [ 43316 ] | |
Labels | New: migrated_from_dcon |
Key |
Original:
|
New:
|
Affects Version/s | New: DCON - old releases [ 62520 ] | |
Affects Version/s | Original: 2.1 [ 40497 ] | |
Workflow | Original: classic workflow for JIRA DVCS Connector [ 689233 ] | New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1553505 ] |
Project | Original: DCON - deprecated use JSW [ 14710 ] | New: JIRA Software (including JIRA Agile) [ 12200 ] |
Workflow | Original: classic default workflow [ 641094 ] | New: classic workflow for JIRA DVCS Connector [ 689233 ] |
felix.sargent from a quick look, none of the repositories on the DVCS Accounts page are linked, which means that the commits and PRs in those repositories will not be synchronized into JIRA. If you want any of those commits or PRs to be associated with the JIRA issues, you should link the corresponding repositories (by clicking on the checkbox to the left of the repository).
If the problem still persists, please create a support ticket at https://support.atlassian.com/browse/JST. Our support engineers would be able to respond to your requests much more quickly.