I'm almost there with integrating Stash and Sonarqube, but I'm having issues with this button:
It takes about a minute, then timesout with the following error, but I can't work out why? There is nothing interesting in the log. The response goes to an internal webservice which obscures the actual call being made.
As you can see, the other integrations are fine (icons in the diff, and the dev panel shows on the main page).
I'm logging in as an admin user.
My SonarQube sits in front of an Apache proxy which hides the port.
Any help would be much appreciated.
How many Sonar issues are there in this Sonar project? We are aware of performance problems for the "show issues in pull request" feature when there are a lot of issues (> 10'000). If this is the case, you might want to watch the corresponding JIRA issue here and vote for it: https://mibexsoftware.atlassian.net/projects/SONAR/issues/SONAR-16
Michael (author of the plug-in)
Actually turning on debugging helped:
2015-06-10 13:02:05,298 ERROR [http-nio-7990-exec-35] david.harper @QVPR8Yx781x516753x13 1stc7fi 10.7.1.204,127.0.0.1 "GET /rest/sonar4stash/1.0/issues-in-pr/issues HTTP/1.1" c.a.p.r.c.e.j.ThrowableExceptionMapper Uncaught exception thrown by REST service: Java heap space
java.lang.OutOfMemoryError: Java heap space
at org.apache.http.util.CharArrayBuffer.expand(CharArrayBuffer.java:61) ~[plugin.6139044561542379346.sonar4stash-1.3.3_1433931375000.jar:4.4.1]
at org.apache.http.util.CharArrayBuffer.append(CharArrayBuffer.java:91) ~[plugin.6139044561542379346.sonar4stash-1.3.3_1433931375000.jar:4.4.1]
at org.apache.http.util.EntityUtils.toString(EntityUtils.java:245) ~[plugin.6139044561542379346.sonar4stash-1.3.3_1433931375000.jar:4.4.1]
at org.apache.http.util.EntityUtils.toString(EntityUtils.java:288) ~[plugin.6139044561542379346.sonar4stash-1.3.3_1433931375000.jar:4.4.1]
at ch.mibex.stash.sonar4stash.sonar.DefaultSonarClient.doGet(DefaultSonarClient.scala:512) ~[plugin.6139044561542379346.sonar4stash-1.3.3_1433931375000.jar:na]
at ch.mibex.stash.sonar4stash.sonar.DefaultSonarClient.getIssuesInProject(DefaultSonarClient.scala:179) ~[plugin.6139044561542379346.sonar4stash-1.3.3_1433931375000.jar:na]
at ch.mibex.stash.sonar4stash.sonar.issues.SonarIssuesInPRResource.getSonarIssuesInPr(SonarIssuesInPRResource.scala:69) ~[plugin.6139044561542379346.sonar4stash-1.3.3_1433931375000.jar:na]
... 25 frames trimmed
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs