Hey,
I'm almost there with integrating Stash and Sonarqube, but I'm having issues with this button:
server-unreachable-a.png
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.
server-unreachable.png
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.
Hi,
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
Thanks,
Michael (author of the plug-in)
Hi Michael, Thanks for the great plugin. In the whole project we have 139,742 issues! ( -_- ) I'll definitely sign-up and vote, thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're welcome. We are working on this right now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.