In IntelliJ IDEA, binding server gives "Can only return first 10000 results. 10500th result asked"

600 views
Skip to first unread message

Bryan Vold

unread,
Dec 13, 2017, 4:27:31 PM12/13/17
to SonarLint
This used to work, but after upgrading to SonarQube 6.7, the update binding to our SonarQube  server tries to load modules, gets to page 21 and then hits a 10000 limit of some sort.  It seems like this may be an ElasticSearch error, but I'm not sure.  If it is an ElasticSearch error, is there a way to override this (and is that wise)?  Regular scans work, just not the integration with SonarLint.

"Error 400 on
Can return only the first 10000 results.  10500th result asked."

SonarLint : SonarLint IntelliJ 3.1.0.2244

IntelliJ :
IntelliJ IDEA 2017.3 (Community Edition)
Build #IC-173.3727.127, built on November 27, 2017
JRE: 1.8.0_152-release-1024-b6 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6

Duarte Meneses

unread,
Dec 14, 2017, 4:15:19 AM12/14/17
to Bryan Vold, SonarLint
Hi,

There is a limit of 10k results returned by the webservice due to a technical limitation. This is not due to an error.

It's not expected that a SonarQube instance would have more than 10.000 modules. May I ask how come you have such a high number of modules? Is it because of the usage of branches?

--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarlint/08817b0e-877f-4eca-9a38-421e50a661a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Duarte Meneses | SonarSource
Software Engineer

Are you using SonarLint in your IDE?

Bryan Vold

unread,
Dec 28, 2017, 9:45:33 AM12/28/17
to SonarLint
I work for a large organization.  Email me and I can fill you in and maybe you can help me figure out a solution.
-Bryan


On Thursday, December 14, 2017 at 3:15:19 AM UTC-6, duarte.meneses wrote:
Hi,

There is a limit of 10k results returned by the webservice due to a technical limitation. This is not due to an error.

It's not expected that a SonarQube instance would have more than 10.000 modules. May I ask how come you have such a high number of modules? Is it because of the usage of branches?
On 13 December 2017 at 22:27, Bryan Vold <bryan...@gmail.com> wrote:
This used to work, but after upgrading to SonarQube 6.7, the update binding to our SonarQube  server tries to load modules, gets to page 21 and then hits a 10000 limit of some sort.  It seems like this may be an ElasticSearch error, but I'm not sure.  If it is an ElasticSearch error, is there a way to override this (and is that wise)?  Regular scans work, just not the integration with SonarLint.

"Error 400 on
Can return only the first 10000 results.  10500th result asked."

SonarLint : SonarLint IntelliJ 3.1.0.2244

IntelliJ :
IntelliJ IDEA 2017.3 (Community Edition)
Build #IC-173.3727.127, built on November 27, 2017
JRE: 1.8.0_152-release-1024-b6 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6

--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+...@googlegroups.com.

loor...@gmail.com

unread,
Feb 21, 2018, 6:55:05 AM2/21/18
to SonarLint
I have the same issue. Is it resolved in any way?

For my case it's because of usage of branches

nicolas...@sonarsource.com

unread,
Feb 21, 2018, 7:43:56 AM2/21/18
to SonarLint
Hi there,

You probably want to check-out SLI-258 - SonartLint fails to connect with more than 10K projects/modules in SonarQube .

Best regards,
Nicolas
Reply all
Reply to author
Forward
0 new messages