-
Bug
-
Resolution: Fixed
-
Low
-
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 Loading...
- clones
-
BBC-752 Loading...
(3 mentioned in)