java:S2166 rule not working

If you don’t know what is connected mode, then you are certainly not using it :slight_smile:.

Could you please follow those steps:

  • open the SonarLint console (in Eclipse console view)
  • enable verbose + analysis logs
  • clear the console
  • close and reopen the offending file (TooManyRootsException.java)
  • copy paste the logs produced in the console by the analysis

It might be useful to read the FAQ first, but if one step is not clear, let me know.