Closed akuryan closed 6 years ago
ERROR: Caused by: Numeric value (4314163357) out of range of int. wow!
Does this error occur in TeamCity build only or when you run the analysis manually as well?
As I understand the error is raised in some github with SonarQube integration. I suppose this is some plugin - please check whether you can upgrade it.
It is this SonarQube plugin, running on Teamcity side to analyze PR. Or is there something invoked on SQ side as well at this point?
I mean when you are running analysis manually from command line - does this error occur?
I am not sure how to launch PR analysis manually :(
I found string for execution from log output - and started it manually I received same result
It seems that the problem is on https://github.com/kohsuke/github-api: at org.kohsuke.github.Requester.parse(Requester.java:522) ... 65 more Caused by: com.fasterxml.jackson.databind.JsonMappingException: Numeric value (4314789267) out of range of int at [Source: java.io.StringReader@75201592; line: 1, column: 120] (through reference chain: org.kohsuke.github.GHCommitStatus["id"])
After googling - I found https://github.com/kohsuke/github-api But I am not sure - where error pops up: on Teamcity level or on SQ level :(
Yeah, and it seems they've fixed this issue 2 weeks ago: https://github.com/kohsuke/github-api/issues/393.
Here is fix in SonarQube integration for github: https://github.com/SonarSource/sonar-github/commit/0aacae358108a10a0a085917110c7dd1871ae5e2#diff-600376dffeb79835ede4a0b285078036
So you'll need to update SonarQube GitHub Plugin on your SonarQube Server. I don't know whether they've released it already
Updating sonar-github plugin fixed issue. Thank you for your help
It seems that plugin is not able to swallow status ID. I shall note that this error happens on PR analysis on only one of our projects - so, maybe it is some boundary issue