-
Bug
-
Resolution: Fixed
-
Low (View bug fix roadmap)
-
None
-
None
GitHub repository cannot be linked without administration permission. Instead of message about missing administration permission, the following exception is thrown and repository is not linked.
@400000005342e925252481bc 2014-04-07 20:06:19,620 TP-Processor6 ERROR sysadmin 1206x3321x1 1s9jvge 46.243.25.78,59.167.29.201 /rest/bitbucket/1.0/repo/424/autolink [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of com.atlassian.jira.plugins.dvcs.github.api.model.GitHubRepositoryHook[] out of START_OBJECT token @400000005342e9252524915c at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@1fe94ba; line: 1, column: 1] @400000005342e92525276404 com.sun.jersey.api.client.ClientHandlerException: org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of com.atlassian.jira.plugins.dvcs.github.api.model.GitHubRepositoryHook[] out of START_OBJECT token @400000005342e92525276bd4 at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@1fe94ba; line: 1, column: 1] @400000005342e92525276bd4 at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:563) @400000005342e925252773a4 at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:506) @400000005342e9252527778c at com.atlassian.jira.plugins.dvcs.github.impl.AbstractGitHubRESTClientImpl.getAll(AbstractGitHubRESTClientImpl.java:143) @400000005342e92525278344 at com.atlassian.jira.plugins.dvcs.github.impl.GitHubRESTClientImpl.getHooks(GitHubRESTClientImpl.java:74) @400000005342e9252527872c at com.atlassian.jira.plugins.dvcs.spi.github.GithubCommunicator.ensureHookPresent(GithubCommunicator.java:345) @400000005342e92525278b14 at com.atlassian.jira.plugins.dvcs.service.remote.CachingCommunicator.ensureHookPresent(CachingCommunicator.java:226) @400000005342e92525278efc at com.atlassian.jira.plugins.dvcs.service.RepositoryServiceImpl.addOrRemovePostcommitHook(RepositoryServiceImpl.java:530) @400000005342e925252792e4 at com.atlassian.jira.plugins.dvcs.service.RepositoryServiceImpl.enableRepository(RepositoryServiceImpl.java:480) @400000005342e925252796cc at com.atlassian.jira.plugins.dvcs.rest.RootResource.enableRepositoryAutolink(RootResource.java:393)
- duplicates
-
JSWSERVER-14336 DVCS connector does not sync to one GitHub repository, works with another
-
- Closed
-
- relates to
-
JSWSERVER-14308 Unable to link selected repository - NullPointerException linking GitHub repositories
-
- Closed
-
-
BBC-755 Failed to load
- clones
-
BBC-752 Failed to load
(3 mentioned in)
[JSWSERVER-14229] Exception when linking GitHub repository without admistration permission
Remote Link | Original: This issue links to "Page (Confluence)" [ 966091 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 966091 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 716349 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2851998 ] | New: JAC Bug Workflow v3 [ 2936992 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2545926 ] | New: JAC Bug Workflow v2 [ 2851998 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1553631 ] | New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2545926 ] |
Component/s | New: DVCS Accounts [ 43316 ] | |
Labels | New: migrated_from_dcon |
Remote Link | New: This issue links to "Page (Extranet)" [ 72213 ] |
Regular Expression | New: org\.codehaus\.jackson\.map\.JsonMappingException:\sCan\snot\sdeserialize\sinstance\sof\scom\.atlassian\.jira\.plugins\.dvcs\.github\.api\.model\.GitHubRepositoryHook\[\]\sout\sof\sSTART_OBJECT\stoken |