Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for #387: numeric value out of range of int #388

Merged
merged 2 commits into from
Oct 28, 2017
Merged

Fix for #387: numeric value out of range of int #388

merged 2 commits into from
Oct 28, 2017

Conversation

aburmeis
Copy link
Contributor

fix for #387:

  • migrated int id to long
  • updated dependencies

@aburmeis
Copy link
Contributor Author

As I didn't made the tests run on my local machine please do this before merging. Feel free to contact me if there any issues regarding the upgraded dependencies.

@aburmeis aburmeis changed the title #387 numeric value out of range of int Fix for #387: numeric value out of range of int Oct 23, 2017
@kisoku
Copy link

kisoku commented Oct 25, 2017

This is hitting us pretty badly as github just recently overflowed int on their status objects and this is causing the GitHub status post-build action to fail when deserializing responses from GitHub

@kisoku
Copy link

kisoku commented Oct 25, 2017

I created a ticket for this in JIRA

https://issues.jenkins-ci.org/browse/JENKINS-47632

@kisoku
Copy link

kisoku commented Oct 25, 2017

@aburmeis I tried building this patch today and got build failures

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.kohsuke:github-api:jar:1.90-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 37, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.kohsuke:pom:17, /home/msf/.m2/repository/org/kohsuke/pom/17/pom-17.pom, line 49, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GitHub API for Java 1.90-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ github-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/msf/github-api/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ github-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 118 source files to /home/msf/github-api/target/classes
[INFO] /home/msf/github-api/src/main/java/org/kohsuke/github/extras/OkHttp3Connector.java: Some input files use or override a deprecated API.
[INFO] /home/msf/github-api/src/main/java/org/kohsuke/github/extras/OkHttp3Connector.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/msf/github-api/src/main/java/org/kohsuke/github/Requester.java: Some input files use unchecked or unsafe operations.
[INFO] /home/msf/github-api/src/main/java/org/kohsuke/github/Requester.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- bridge-method-injector:1.17:process (default) @ github-api ---
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ github-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 24 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ github-api ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- gmaven-plugin:1.4:testCompile (default) @ github-api ---
[INFO] No sources found to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ github-api ---
[INFO] Surefire report directory: /home/msf/github-api/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.kohsuke.github.GHContentIntegrationTest
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 1.171 sec <<< FAILURE!
Running org.kohsuke.github.AppTest
GHRateLimit{remaining=4194, limit=5000, resetDate=Wed Oct 25 23:45:11 UTC 2017}
Tests run: 64, Failures: 0, Errors: 63, Skipped: 0, Time elapsed: 6.54 sec <<< FAILURE!
Running org.kohsuke.github.GitHubTest
Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.331 sec <<< FAILURE!
Running org.kohsuke.github.RepositoryTrafficTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.224 sec <<< FAILURE!
Running org.kohsuke.github.GHHookTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.kohsuke.github.CommitTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.17 sec <<< FAILURE!
Running org.kohsuke.github.LifecycleTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.071 sec <<< FAILURE!
Running org.kohsuke.github.GHEventPayloadTest
Tests run: 11, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 0.06 sec <<< FAILURE!
Running org.kohsuke.github.RepositoryMockTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec <<< FAILURE!
Running org.kohsuke.github.RepositoryTest
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.537 sec <<< FAILURE!
Running org.kohsuke.github.GistTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.233 sec <<< FAILURE!
Running org.kohsuke.github.UserTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.067 sec <<< FAILURE!
Running org.kohsuke.github.GHBranchProtectionTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.326 sec <<< FAILURE!
Running org.kohsuke.github.GHLicenseTest
Tests run: 9, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 0.692 sec <<< FAILURE!
Running org.kohsuke.github.PullRequestTest
Tests run: 18, Failures: 0, Errors: 18, Skipped: 0, Time elapsed: 1.09 sec <<< FAILURE!
Running org.kohsuke.github.GHOrganizationTest
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.123 sec <<< FAILURE!

Results :

Tests in error:
  testGetDirectoryContent(org.kohsuke.github.GHContentIntegrationTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testGetDirectoryContentTrailingSlash(org.kohsuke.github.GHContentIntegrationTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testGetEmptyFileContent(org.kohsuke.github.GHContentIntegrationTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCRUDContent(org.kohsuke.github.GHContentIntegrationTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testGetFileContent(org.kohsuke.github.GHContentIntegrationTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testOrganization(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testTreesRecursive(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testMemberOrgs(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testMembership(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testListDeployments(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  searchContent(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  directoryListing(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testMyTeamsShouldIncludeMyself(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testOrgFork(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCreateDeployment(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testApp(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testRef(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testMyOrganizations(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCredentialValid(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testListAllRepositories(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testIssueWithNoComment(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testTrees(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCreateIssue(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  reactions(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  tryHook(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  listOrgMemberships(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testFetchPullRequestAsList(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testMyOrganizationsContainMyTeams(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testListIssues(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  searchUsers(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCommitComment(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCommitStatusContext(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCheckMembership(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testFetchPullRequest(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testOrgRepositories(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testAddDeployKey(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  blob(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testMemberPagenation(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testSubscribers(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  markDown(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testRepoLabel(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testRepoCRUD(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCommitSearch(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCommitStatus(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testPullRequestPopulate(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testListCommits(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  checkToString(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testGetTeamsForRepo(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testBranches(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testIssueSearch(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testOrgTeamByName(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testOrgTeamBySlug(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCreateRelease(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCommitShortInfo(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testEventApi(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testGetIssues(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testPublicKeys(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCommit(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  notifications(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testGetMyself(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testIssue162(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  searchRepositories(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testReadme(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testRepoPermissions(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCreateCommitComment(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testRepositoryWithAutoInitializationCRUD(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testOrgTeams(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testGetDeploymentStatuses(org.kohsuke.github.AppTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  listUsers(org.kohsuke.github.GitHubTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testGetViews(org.kohsuke.github.RepositoryTrafficTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testGetClones(org.kohsuke.github.RepositoryTrafficTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testGetTrafficStatsAccessFailureDueToInsufficientPermissions(org.kohsuke.github.RepositoryTrafficTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  listFiles(org.kohsuke.github.CommitTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  lastStatus(org.kohsuke.github.CommitTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCreateRepository(org.kohsuke.github.LifecycleTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  commit_comment(org.kohsuke.github.GHEventPayloadTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  create(org.kohsuke.github.GHEventPayloadTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  delete(org.kohsuke.github.GHEventPayloadTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  pull_request(org.kohsuke.github.GHEventPayloadTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  public_(org.kohsuke.github.GHEventPayloadTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  fork(org.kohsuke.github.GHEventPayloadTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  push(org.kohsuke.github.GHEventPayloadTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  issue_comment(org.kohsuke.github.GHEventPayloadTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  deployment_status(org.kohsuke.github.GHEventPayloadTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  deployment(org.kohsuke.github.GHEventPayloadTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  repository(org.kohsuke.github.GHEventPayloadTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  listCollaborators(org.kohsuke.github.RepositoryMockTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  getPermission(org.kohsuke.github.RepositoryTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  listContributors(org.kohsuke.github.RepositoryTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  LatestRepositoryExist(org.kohsuke.github.RepositoryTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  subscription(org.kohsuke.github.RepositoryTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  LatestRepositoryNotExist(org.kohsuke.github.RepositoryTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  listLanguages(org.kohsuke.github.RepositoryTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  listEmptyContributors(org.kohsuke.github.RepositoryTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  lifecycleTest(org.kohsuke.github.GistTest): {"message":"Not Found","documentation_url":"https://developer.github.com/v3/gists/#create-a-gist"}
  gistFile(org.kohsuke.github.GistTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  starTest(org.kohsuke.github.GistTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  listFollowsAndFollowers(org.kohsuke.github.UserTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testEnableBranchProtections(org.kohsuke.github.GHBranchProtectionTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testEnableRequireReviewsOnly(org.kohsuke.github.GHBranchProtectionTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testEnableProtectionOnly(org.kohsuke.github.GHBranchProtectionTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  checkRepositoryLicense(org.kohsuke.github.GHLicenseTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  checkRepositoryFullLicense(org.kohsuke.github.GHLicenseTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  checkRepositoryWithoutLicense(org.kohsuke.github.GHLicenseTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  checkRepositoryLicenseContent(org.kohsuke.github.GHLicenseTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  checkRepositoryLicenseAtom(org.kohsuke.github.GHLicenseTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  listLicensesCheckIndividualLicense(org.kohsuke.github.GHLicenseTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  getLicense(org.kohsuke.github.GHLicenseTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  checkRepositoryLicensePomes(org.kohsuke.github.GHLicenseTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  listLicenses(org.kohsuke.github.GHLicenseTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testMergeCommitSHA(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testMergeCommitSHA(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testGetUser(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testGetUser(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  createPullRequest(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  createPullRequest(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testPullRequestReviewComments(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testPullRequestReviewComments(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  setLabels(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  setLabels(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testPullRequestReviews(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testPullRequestReviews(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testSquashMerge(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testSquashMerge(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  createPullRequestComment(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  createPullRequestComment(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  setAssignee(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  setAssignee(org.kohsuke.github.PullRequestTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCreateRepository(org.kohsuke.github.GHOrganizationTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCreateRepository(org.kohsuke.github.GHOrganizationTest)
  testCreateRepositoryWithAutoInitialization(org.kohsuke.github.GHOrganizationTest): (class: org/kohsuke/github/GHObject, method: getId signature: ()Ljava/lang/String;) Attempt to split long or double on the stack
  testCreateRepositoryWithAutoInitialization(org.kohsuke.github.GHOrganizationTest)

Tests run: 142, Failures: 0, Errors: 132, Skipped: 1

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.800s
[INFO] Finished at: Wed Oct 25 23:35:24 UTC 2017
[INFO] Final Memory: 32M/1279M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project github-api: There are test failures.
[ERROR]
[ERROR] Please refer to /home/msf/github-api/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

@JeanMertz
Copy link

We're also hit by the GitHub status API ID issue. Looking forward to see this patch released 👍

@kohsuke kohsuke merged commit 6415785 into hub4j:master Oct 28, 2017
kohsuke added a commit that referenced this pull request Oct 28, 2017
@opethe1st
Copy link

works now? how to get this version? @kohsuke

@johnjelinek
Copy link

@opethe1st: the fix is included in release 1.90

@kavifluke
Copy link

I've upgrade to 1.90. But i'm facing the same issue during sonar execution in my PR.
14:39:52 ERROR: Error during SonarQube Scanner execution 14:39:52 java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.ImmutableProjectReactor 14:39:52 at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:71) 14:39:52 at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632) 14:39:52 at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118) 14:39:52 at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136) 14:39:52 at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78) 14:39:52 at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309) 14:39:52 at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335) 14:39:52 at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270) 14:39:52 at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364) 14:39:52 at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56) 14:39:52 at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64) 14:39:52 at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91) 14:39:52 at org.picocontainer.DefaultPicoContainer.instantiateComponentAsIsStartable(DefaultPicoContainer.java:1034) 14:39:52 at org.picocontainer.DefaultPicoContainer.addAdapterIfStartable(DefaultPicoContainer.java:1026) 14:39:52 at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1003) 14:39:52 at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767) 14:39:52 at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:143) 14:39:52 at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:129) 14:39:52 at org.sonar.scanner.task.ScanTask.execute(ScanTask.java:47) 14:39:52 at org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:86) 14:39:52 at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:144) 14:39:52 at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:129) 14:39:52 at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:118) 14:39:52 at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:117) 14:39:52 at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:63) 14:39:52 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 14:39:52 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 14:39:52 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 14:39:52 at java.lang.reflect.Method.invoke(Method.java:498) 14:39:52 at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) 14:39:52 at com.sun.proxy.$Proxy0.execute(Unknown Source) 14:39:52 at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:233) 14:39:52 at org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151) 14:39:52 at org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:123) 14:39:52 at org.sonarsource.scanner.cli.Main.execute(Main.java:77) 14:39:52 at org.sonarsource.scanner.cli.Main.main(Main.java:61) 14:39:52 Caused by: java.lang.Error: org.kohsuke.github.HttpException: Server returned HTTP response code: 200, message: 'OK' for URL: https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb 14:39:52 at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:429) 14:39:52 at org.kohsuke.github.Requester$PagingIterator.hasNext(Requester.java:396) 14:39:52 at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:44) 14:39:52 at org.kohsuke.github.PagedIterator.hasNext(PagedIterator.java:32) 14:39:52 at org.kohsuke.github.PagedIterable.asList(PagedIterable.java:42) 14:39:52 at org.sonar.plugins.github.PullRequestFacade.getCommitStatusForContext(PullRequestFacade.java:304) 14:39:52 at org.sonar.plugins.github.PullRequestFacade.createOrUpdateSonarQubeStatus(PullRequestFacade.java:274) 14:39:52 at org.sonar.plugins.github.PullRequestProjectBuilder.build(PullRequestProjectBuilder.java:54) 14:39:52 at org.sonar.scanner.scan.ProjectBuildersExecutor.execute(ProjectBuildersExecutor.java:53) 14:39:52 at org.sonar.scanner.scan.ImmutableProjectReactorProvider.provide(ImmutableProjectReactorProvider.java:32) 14:39:52 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 14:39:52 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 14:39:52 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 14:39:52 at java.lang.reflect.Method.invoke(Method.java:498) 14:39:52 at org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129) 14:39:52 at org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39) 14:39:52 at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113) 14:39:52 at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270) 14:39:52 at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120) 14:39:52 at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58) 14:39:52 at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142) 14:39:52 at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96) 14:39:52 at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699) 14:39:52 at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647) 14:39:52 at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:69) 14:39:52 ... 35 more 14:39:52 Caused by: org.kohsuke.github.HttpException: Server returned HTTP response code: 200, message: 'OK' for URL: https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb 14:39:52 at org.kohsuke.github.Requester.parse(Requester.java:532) 14:39:52 at org.kohsuke.github.Requester.access$200(Requester.java:68) 14:39:52 at org.kohsuke.github.Requester$PagingIterator.fetch(Requester.java:420) 14:39:52 ... 59 more 14:39:53 Caused by: java.io.IOException: Failed to deserialize [{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300746903,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/362/","context":"PR_Unit_Test","created_at":"2017-11-06T08:43:42Z","updated_at":"2017-11-06T08:43:42Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300746836,"state":"failure","description":"Unit Test is Failed\n No test results found.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/361/","context":"PR_Unit_Test","created_at":"2017-11-06T08:43:35Z","updated_at":"2017-11-06T08:43:35Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300746503,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Unit_Test","created_at":"2017-11-06T08:43:10Z","updated_at":"2017-11-06T08:43:10Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300739434,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/361/","context":"PR_Unit_Test","created_at":"2017-11-06T08:32:20Z","updated_at":"2017-11-06T08:32:20Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300739315,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Unit_Test","created_at":"2017-11-06T08:32:10Z","updated_at":"2017-11-06T08:32:10Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300710232,"state":"failure","description":"Unit Test is Failed\n No test results found.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/360/","context":"PR_Unit_Test","created_at":"2017-11-06T07:39:52Z","updated_at":"2017-11-06T07:39:52Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300709913,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/360/","context":"PR_Unit_Test","created_at":"2017-11-06T07:39:15Z","updated_at":"2017-11-06T07:39:15Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300709809,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Unit_Test","created_at":"2017-11-06T07:39:04Z","updated_at":"2017-11-06T07:39:04Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300707637,"state":"failure","description":"Unit Test is Failed\n No test results found.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/359/","context":"PR_Unit_Test","created_at":"2017-11-06T07:35:24Z","updated_at":"2017-11-06T07:35:24Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300707264,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/359/","context":"PR_Unit_Test","created_at":"2017-11-06T07:34:46Z","updated_at":"2017-11-06T07:34:46Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300707064,"state":"success","description":"Smoke Test is Passed\n No test results found.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Smoke/436/","context":"PR_Smoke_Test","created_at":"2017-11-06T07:34:24Z","updated_at":"2017-11-06T07:34:24Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300700632,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Unit_Test","created_at":"2017-11-06T07:22:10Z","updated_at":"2017-11-06T07:22:10Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300696076,"state":"failure","description":"Unit Test is Failed\n No test results found.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/358/","context":"PR_Unit_Test","created_at":"2017-11-06T07:13:25Z","updated_at":"2017-11-06T07:13:25Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300695666,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/358/","context":"PR_Unit_Test","created_at":"2017-11-06T07:12:49Z","updated_at":"2017-11-06T07:12:49Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300695589,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Unit_Test","created_at":"2017-11-06T07:12:40Z","updated_at":"2017-11-06T07:12:40Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300694770,"state":"failure","description":"Unit Test is Failed\n No test results found.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/357/","context":"PR_Unit_Test","created_at":"2017-11-06T07:10:57Z","updated_at":"2017-11-06T07:10:57Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300694430,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Unit/357/","context":"PR_Unit_Test","created_at":"2017-11-06T07:10:18Z","updated_at":"2017-11-06T07:10:18Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300694191,"state":"pending","description":"Build started sha1 is merged.","target_url":"https://jenkins.mydomain.com/job/Android_PullRequest_Smoke/436/","context":"PR_Smoke_Test","created_at":"2017-11-06T07:09:52Z","updated_at":"2017-11-06T07:09:52Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300689208,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Unit_Test","created_at":"2017-11-06T07:00:06Z","updated_at":"2017-11-06T07:00:06Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}},{"url":"https://api.github.com/repos/<my_org>/<my_repo>/statuses/dc385112b6b993f47df9c562a8cb2e8128d62dfb","id":4300689201,"state":"pending","description":"Build triggered. sha1 is merged.","target_url":"","context":"PR_Smoke_Test","created_at":"2017-11-06T07:00:05Z","updated_at":"2017-11-06T07:00:05Z","creator":{"login":"jenkins-fc","id":12434989,"avatar_url":"https://avatars0.githubusercontent.com/u/12434989?v=4","gravatar_id":"","url":"https://api.github.com/users/jenkins-fc","html_url":"https://github.com/jenkins-fc","followers_url":"https://api.github.com/users/jenkins-fc/followers","following_url":"https://api.github.com/users/jenkins-fc/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-fc/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-fc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-fc/subscriptions","organizations_url":"https://api.github.com/users/jenkins-fc/orgs","repos_url":"https://api.github.com/users/jenkins-fc/repos","events_url":"https://api.github.com/users/jenkins-fc/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-fc/received_events","type":"User","site_admin":false}}] 14:39:53 at org.kohsuke.github.Requester.parse(Requester.java:522) 14:39:53 ... 61 more 14:39:53 Caused by: com.fasterxml.jackson.databind.JsonMappingException: Numeric value (4300746903) out of range of int 14:39:53 at [Source: java.io.StringReader@38704ff0; line: 1, column: 129] (through reference chain: org.kohsuke.github.GHCommitStatus["id"]) 14:39:53 at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:232) 14:39:53 at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:197) 14:39:53 at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapAndThrow(BeanDeserializerBase.java:1311) 14:39:53 at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:297) 14:39:53 at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:121) 14:39:53 at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:151) 14:39:53 at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:18) 14:39:53 at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2888) 14:39:53 at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2034) 14:39:53 at org.kohsuke.github.Requester.parse(Requester.java:520) 14:39:53 ... 61 more 14:39:53 Caused by: com.fasterxml.jackson.core.JsonParseException: Numeric value (4300746903) out of range of int 14:39:53 at [Source: java.io.StringReader@38704ff0; line: 1, column: 129] 14:39:53 at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1369) 14:39:53 at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:532) 14:39:53 at com.fasterxml.jackson.core.base.ParserBase.convertNumberToInt(ParserBase.java:847) 14:39:53 at com.fasterxml.jackson.core.base.ParserBase.getIntValue(ParserBase.java:643) 14:39:53 at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseInteger(StdDeserializer.java:306) 14:39:53 at com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:319) 14:39:53 at com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:301) 14:39:53 at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:464) 14:39:53 at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:107) 14:39:53 at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295) 14:39:53 ... 67 more 14:39:53 ERROR: 14:39:53 ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.

@consueloel
Copy link

consueloel commented Nov 6, 2017

I'm receiving the same error... I already updated to 1.9

@kohsuke
Copy link
Collaborator

kohsuke commented Nov 6, 2017

Looks like Jackson is still deserializing int, not long.

@theigl
Copy link

theigl commented Nov 7, 2017

I can confirm. Still getting the error after upgrading to 1.9.

Numeric value (4301130749) out of range of int
[ERROR]  at [Source: java.io.StringReader@20307cb9; line: 1, column: 124] (through reference chain: org.kohsuke.github.GHCommitStatus["id"])

I'm using sonar-maven-plugin to analyse PRs and set the commit status on GitHub. Its possible that the plugin still uses an older version of the library:

https://groups.google.com/forum/#!topic/sonarqube/2RpOwd3F7sM

@apupier
Copy link

apupier commented Nov 7, 2017

given the stack in #388 (comment) , to have Requester calling ObjectMapper.readValue at line 520, it means that you are still using an older version of github-api. it doesn't corresponds to 1.90 version see here.
it seems to correspond to the version 1.76 used by the previous version of sonar-github

So it might be "just" that the sonar-github 1.4.2 needs to be deployed on the Sonar side.
@henryju does it sound correct?

@akeithball
Copy link

Upgrading to github-api v1.90 worked for us for the GitHub PR Builder plugin portion of our build. The response is deserialized correctly and the status is updated in the PR. However, the SonarQube scanning portion of our pipeline (preview analysis) is failing due to the SonarQube GitHub plugin v1.4.1 still using an older version of the github-api (< v1.90). Once the SonarQube GitHub plugin v1.4.2 is released I believe this will be resolved.

@jsjohnst
Copy link

jsjohnst commented Nov 8, 2017

Were the dependency upgrades actually needed, or just thrown in "just because"?

@aburmeis
Copy link
Contributor Author

aburmeis commented Nov 9, 2017

@kisoku sorry for not relying, have been on vacation (no network, middle of red sea). As I wrote, I didn't manage to run the tests locally (maybe some hint in README or a CONTRIBUTION with the requirements would help). Currently a little confused about the state: last message was still not working, but is merged?!? What do do now?

@aburmeis
Copy link
Contributor Author

aburmeis commented Nov 9, 2017

At least it works for us except Sonar for now.

@aburmeis aburmeis deleted the 387_Numeric-value-out-of-range-of-int branch November 9, 2017 14:32
@henryju
Copy link
Contributor

henryju commented Nov 9, 2017

sonar-github-plugin 1.4.2 was released and published on the update center (available for on premise installation). The update on SonarCloud should be done quickly.

@shenault
Copy link

shenault commented Nov 9, 2017

The version doesn't seem to be incremented in the Update Center. There is a delay before seeing the update?
image

@henryju
Copy link
Contributor

henryju commented Nov 9, 2017

http://update.sonarsource.org/update-center.properties seems updated. SonarQube update center UI is refreshed every hour.

@shenault
Copy link

shenault commented Nov 9, 2017

Seems broken, I see a version mismatch in the file.

github.1.4.2.displayVersion=1.4.1 (build 822)
github.1.4.2.downloadUrl=https\://sonarsource.bintray.com/Distribution/sonar-github-plugin/sonar-github-plugin-1.4.1.822.jar

@henryju
Copy link
Contributor

henryju commented Nov 9, 2017

Oups, problem reported. Should be fixed in a minute. Thanks for the notice.

@kavifluke
Copy link

After upgrading to sonar-github-plugin 1.4.2 on sonarqube server, its working fine. Thanks for the fix.

@hierony94
Copy link

hierony94 commented Nov 22, 2017

After upgrading github-api plugin to 1.90, I got this error

Caused by: groovy.lang.MissingPropertyException: No such property: classDumpDir for class: org.gradle.testing.jacoco.plugins.JacocoTaskExtension_Decorated
Possible solutions: classDumpFile

I've not changed anything in my Gradle build script.
Have Anyone experienced this problem?

@batmat
Copy link
Contributor

batmat commented Nov 27, 2017

@hierony94 I would recommend asking on the Gradle mailing list, I guess people there will be more able to understand what is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.