org.sonar.plugins.stash.exceptions.StashClientException: Unable to post a comment to policycentertest #4. Received 400 with message Bad Request.

GitHub | milindbangar79 | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 63#244138528

    GitHub | 9 months ago | milindbangar79
    org.sonar.plugins.stash.exceptions.StashClientException: Unable to post a comment to policycentertest #4. Received 400 with message Bad Request.
  2. 0

    GitHub comment 35#179517572

    GitHub | 1 year ago | RaviFIS
    org.sonar.plugins.stash.exceptions.StashClientException: Unable to retrieve user bam-build. Received 404 with message Not Found.
  3. 0

    GitHub comment 102#288021708

    GitHub | 2 months ago | kingoleg
    org.sonar.plugins.stash.exceptions.StashClientException: Unable to change status of pull-request Test #25. Received 404: com.atlassian.bitbucket.project.NoSuchProjectException: Project PullRequestRef{project=Test, repository=Test, pullRequestId=25} does not exist.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    It tries to add a comment to line number 0

    GitHub | 2 months ago | kingoleg
    org.sonar.plugins.stash.exceptions.StashClientException: Unable to post a comment to Test #27. Received 400: null: 0 is not a valid line number. Diff lines start from 1.
  6. 0

    Cannot post a summary comment. Too many characters.

    GitHub | 2 months ago | kingoleg
    org.sonar.plugins.stash.exceptions.StashClientException: Unable to post a comment to mexos #979. Received 400: null: Please enter a non-empty value less than 32768 characters

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.sonar.plugins.stash.exceptions.StashClientException

      Unable to post a comment to policycentertest #4. Received 400 with message Bad Request.

      at org.sonar.plugins.stash.client.StashClient.postCommentLineOnPullRequest()
    2. org.sonar.plugins
      StashIssueReportingPostJob.executeOn
      1. org.sonar.plugins.stash.client.StashClient.postCommentLineOnPullRequest(StashClient.java:211)[sonar-stash-plugin-1.1.0.jar:na]
      2. org.sonar.plugins.stash.StashRequestFacade.postCommentPerIssue(StashRequestFacade.java:171)[sonar-stash-plugin-1.1.0.jar:na]
      3. org.sonar.plugins.stash.StashIssueReportingPostJob.executeOn(StashIssueReportingPostJob.java:85)[sonar-stash-plugin-1.1.0.jar:na]
      3 frames