Required details:
- Operating system: Windows 10, 22H2 (OS Build 19045.4529)
- SonarLint plugin version: 10.7.0.78874
- Programming language you’re coding in: C#, .NET Framework 4.8, .NET 8
- Is connected mode used: Yes
- Connected to or SonarQube: Data Center Edition - v9.9.6 (build 92038)
Additional info:
- Java runtime version: 8.0.4110.9
- NodeJs version: 20.13.1
Since version 10.6.* analysis of opened files does not work. Analysis is performed on *.cs files. Every time file is opened there is a log message in SonarLint plugin log:
Analysing 'EnterpriseDal.cs' (ID 9f843efa-c22d-4ca5-80be-010ea2367c01)...
[2024-07-12T15:32:17.983] [SonarLint Server RPC request executor] ERROR sonarlint - File to analyze was not found in the file system: file:///C:/S/N/Product/CommonServices/Development/Enterprise/Software/ProductCode/Enterprise/PSWGS.Service.Dal/EnterpriseDal.cs
[2024-07-12T15:32:17.983] [SonarLint Server RPC request executor] INFO sonarlint - Triggering analysis with configuration: [
baseDir: C:\S\N\Product\NewServer
extraProperties: {sonar.updatecenter.cache.ttl=3600000, sonaranalyzer-cs.nuget.packageVersion=8.51.0.59060, sonaranalyzer.security.cs.pluginVersion=9.9.2.22117, sonar.auth.bitbucket.allowUsersToSignUp=true, sonar.cs.ignoreHeaderComments=true, sonar.c.file.suffixes=.c,.h, sonar.typescript.file.suffixes=.ts,.tsx,.cts,.mts, sonar.auth.github.enabled=false, sonar.python.coverage.reportPaths=coverage-reports/*coverage-*.xml, sonaranalyzer-vbnet.nuget.packageVersion=8.51.0.59060, sonar.groovy.file.suffixes=.groovy, sonar.cobol.dialect=ibm-enterprise-cobol, sonar.go.file.suffixes=.go, sonar.cs.internal.loadProjectsOnDemand=true, sonar.cpd.cobol.minimumLines=30, sonar.cobol.exec.recoveryMode=true, sonar.auth.saml.applicationId=sonarqube, sonar.auth.github.organizations=MSI-CIE, sonar.cs.internal.solutionPath=C:\S\N\Product\NewServer\NewCadServer.sln, email.fromName=SonarQube Enterprise Edition, sonar.python.xunit.skipDetails=false, sonar.findbugs.analyzeTests=true, sonar.dbcleaner.weeksBeforeKeepingOnlyAnalysesWithVersion=104, sonar.plsql.jdbc.driver.class=oracle.jdbc.OracleDriver, sonar.qualitygate.ignoreSmallChanges=true, sonar.auth.saml.signature.enabled=false, sonar.go.exclusions=**/vendor/**, sonar.php.exclusions=**/vendor/**, sonar.terraform.file.suffixes=.tf, sonar.forceAuthentication=true, sonar.announcement.displayMessage=false, sonar.notifications.delay=60, sonar.cpp.file.suffixes=.cc,.cpp,.cxx,.c++,.hh,.hpp,.hxx,.h++,.ipp, sonar.groovy.ignoreHeaderComments=true, sonar.swift.file.suffixes=.swift, sonar.vbnet.roslyn.ignoreIssues=false, sonar.plsql.ignoreHeaderComments=false, sonar.flex.file.suffixes=as, sonar.groovy.jacoco.itReportPath=target/jacoco-it.exec, sonaranalyzer.security.cs.nuget.packageVersion=9.9.2.22117, sonar.filesize.limit=20, sonar.auth.gitlab.groupsSync=false, sonar.auth.github.apiUrl=https://api.github.com/, sonar.ruby.file.suffixes=.rb, sonaranalyzer-cs.ruleNamespace=SonarAnalyzer.CSharp, sonar.auth.github.allowUsersToSignUp=false, sonar.pli.extralingualCharacters=#@$, sonar.cs.analyzeGeneratedCode=false, sonar.python.xunit.reportPath=xunit-reports/xunit-result-*.xml, sonar.pli.marginLeft=2, sonar.builtInQualityProfiles.disableNotificationOnUpdate=false, sonar.javascript.globals=angular,goog,google,OenLayers,d3,dojo,dojox,dijit,Backbone,moment,casper,_,sap, sonar.dbcleaner.auditHousekeeping=Monthly, sonar.dbcleaner.hoursBeforeKeepingOnlyOneSnapshotByDay=24, sonar.yaml.file.suffixes=.yaml,.yml, sonar.dbcleaner.daysBeforeDeletingInactiveBranchesAndPRs=30, sonar.auth.bitbucket.enabled=false, sonar.terraform.activate=true, sonar.css.file.suffixes=.css,.less,.scss, sonar.htl.file.paths=src/main/content/jcr_root, sonar.cpd.abap.minimumTokens=100, sonar.auth.github.webUrl=https://github.com/, sonar.dbcleaner.branchesToKeepWhenInactive=master,develop,trunk,main, sonar.ce.parallelProjectTasks=false, sonar.html.file.suffixes=.html,.xhtml,.cshtml,.vbhtml,.aspx,.ascx,.rhtml,.erb,.shtm,.shtml,.cmp,.twig, sonaranalyzer-vbnet.nuget.packageId=SonarAnalyzer.VisualBasic, sonar.auth.gitlab.enabled=false, sonar.vb.file.suffixes=.bas,.frm,.cls,.ctl,.BAS,.FRM,.CLS,.CTL, sonar.cpd.cross_project=false, email.from=sonarqube-ee-noreply@motorolasolutions.com, sonaranalyzer-vbnet.pluginVersion=8.51.0.59060, sonar.vbnet.ignoreHeaderComments=true, sonar.rpg.suffixes=.rpg,.rpgle,.sqlrpgle,.RPG,.RPGLE,.SQLRPGLE, sonar.rpg.leftMarginWidth=12, sonaranalyzer.security.cs.analyzerId=SonarAnalyzer.Security, sonaranalyzer.security.cs.nuget.packageId=SonarAnalyzer.Security, sonar.auth.github.groupsSync=false, sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByWeek=4, sonaranalyzer-vbnet.analyzerId=SonarAnalyzer.VisualBasic, email.prefix=[SONARQUBE], sonar.scala.file.suffixes=.scala, sonar.cs.roslyn.ignoreIssues=false, sonar.cobol.byteBasedColumnCount=false, sonar.governance.report.project.branch.frequency=Monthly, sonar.cloudformation.activate=true, sonar.auth.token.max.allowed.lifetime=No expiration, sonar.pli.marginRight=72, sonaranalyzer-cs.pluginKey=csharp, sonar.kubernetes.activate=true, sonar.cpd.cobol.minimumTokens=100, sonar.mule.file.suffixes=.xml-disabled, sonar.cobertura.reportPath=target/site/cobertura/coverage.xml, sonar.json.file.suffixes=.json, sonar.cs.internal.dotnetCliExeLocation=C:\Program Files\dotnet\dotnet.exe, sonaranalyzer.security.cs.pluginKey=securitycsharpfrontend, sonar.htl.file.suffixes=.html, sonar.vb.ignoreHeaderComments=true, sonar.apex.file.suffixes=.cls,.trigger, sonaranalyzer-vbnet.ruleNamespace=SonarAnalyzer.VisualBasic, sonar.checkstyle.filters=<module name="SuppressWarningsFilter" />, sonar.cloudformation.file.identifier=AWSTemplateFormatVersion, sonar.auth.saml.providerName=SAML, sonar.javascript.ignoreHeaderComments=true, sonar.dbcleaner.daysBeforeDeletingClosedIssues=30, sonar.shell.skip=false, sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByMonth=52, sonar.lf.gravatarServerUrl=https://secure.gravatar.com/avatar/{EMAIL_MD5}.jpg?s={SIZE}&d=identicon, sonar.findbugs.effort=Default, sonar.core.serverBaseURL=https://sonarqube-ee.mot-solutions.com, sonar.objc.file.suffixes=.m, sonar.ruby.coverage.reportPaths=coverage/.resultset.json, sonar.governance.report.view.frequency=Monthly, sonar.cobol.sourceFormat=fixed, sonar.checkstyle.treewalkerfilters=<module name="SuppressionCommentFilter" />, sonar.clover.reportPath=target/site/clover/clover.xml, sonar.checkstyle.generateXml=false, sonar.yaml.filter.utf8_lb=false, sonaranalyzer-cs.staticResourceName=SonarAnalyzer-8.51.0.59060.zip, sonar.findbugs.confidenceLevel=medium, sonar.notifications.runningDelayBeforeReportingStatus=600, sonar.auth.gitlab.allowUsersToSignUp=true, sonar.projectCreation.mainBranchName=main, sonar.cpd.cobol.ignoreLiteral=true, sonar.jsp.file.suffixes=.jsp,.jspf,.jspx, sonar.pli.ignoreHeaderComments=true, sonar.javascript.maxFileSize=1000, sonaranalyzer-cs.nuget.packageId=SonarAnalyzer.CSharp, sonar.groovy.jacoco.reportPath=target/jacoco.exec, sonar.javascript.environments=amd,applescript,atomtest,browser,commonjs,couch,embertest,flow,greasemonkey,jasmine,jest,jquery,meteor,mocha,mongo,nashorn,node,phantomjs,prototypejs,protractor,qunit,rhino,serviceworker,shared-node-browser,shelljs,webextensions,worker,wsh,yui, sonar.cs.internal.msBuildPath=C:\Users\ghxb67\AppData\Local\Programs\Rider\tools\MSBuild\Current\Bin\amd64, sonar.authenticator.downcase=false, sonar.scm.disabled=false, sonar.ruby.exclusions=**/vendor/**, sonar.cs.internal.useNet6=false, sonar.scim.enabled=false, sonar.auth.saml.enabled=false, sonar.vbnet.file.suffixes=.vb, sonaranalyzer-cs.analyzerId=SonarAnalyzer.CSharp, detekt.sonar.kotlin.filters=**/resources/**,**/build/**,**/target/**, sonar.pmd.generateXml=false, sonar.core.id=8F6C7167-AW8zf1mS7d4EVV8efcCG, sonar.findbugs.allowuncompiledcode=false, sonar.cobol.adaprep.activation=false, sonar.abap.file.suffixes=.abap,.ab4,.flow,.asprog, sonar.cfamily.ignoreHeaderComments=true, sonar.technicalDebt.ratingGrid=0.05,0.1,0.2,0.5, sonar.technicalDebt.developmentCost=30, sonar.lf.enableGravatar=true, sonar.validateWebhooks=true, sonar.docker.activate=true, sonar.python.file.suffixes=py, sonaranalyzer-cs.pluginVersion=8.51.0.59060, sonaranalyzer.security.cs.staticResourceName=SonarAnalyzer.Security-9.9.2.22117.zip, sonar.cs.file.suffixes=.cs, sonar.groovy.jacoco.reportMissing.force.zero=false, sonar.developerAggregatedInfo.disabled=false, sonar.plsql.file.suffixes=sql,pks,pkb, sonaranalyzer.security.cs.ruleNamespace=SonarAnalyzer.Security, sonar.javascript.file.suffixes=.js,.jsx,.cjs,.mjs,.vue, sonar.cpd.abap.minimumLines=20, sonar.cobol.tab.width=8, sonar.allowPermissionManagementForProjectAdmins=true, sonaranalyzer-vbnet.staticResourceName=SonarAnalyzer-8.51.0.59060.zip, sonar.shell.file.suffixes=.sh,.ksh,.bash, sonar.vbnet.analyzeGeneratedCode=false, sonar.pli.file.suffixes=.pli, sonar.java.file.suffixes=.java,.jav, sonar.kotlin.file.suffixes=.kt, sonar.plugins.risk.consent=ACCEPTED, sonar.php.file.suffixes=php,php3,php4,php5,phtml,inc, sonar.auth.gitlab.url=https://gitlab.com, sonar.xml.file.suffixes=.xml,.xsd,.xsl, sonar.dbcleaner.weeksBeforeDeletingAllSnapshots=260, sonaranalyzer-vbnet.pluginKey=vbnet, sonar.updatecenter.url=https://update.sonarsource.org/update-center.properties, sonar.tsql.file.suffixes=.tsql, sonar.findbugs.timeout=600000, sonar.core.startTime=2024-07-11T12:49:53+0000}
activeRules: [csharpsquid:S1854, csharpsquid:S4200, csharpsquid:S2386, csharpsquid:S4201, csharpsquid:S5773, csharpsquid:S3597, csharpsquid:S3598, csharpsquid:S3236, csharpsquid:S3237, csharpsquid:S3358, csharpsquid:S5659, csharpsquid:S3928, csharpsquid:S1862, csharpsquid:S1066, csharpsquid:S1186, csharpsquid:S1185, csharpsquid:S4581, csharpsquid:S3251, csharpsquid:S3241, csharpsquid:S4210, csharpsquid:S2275, csharpsquid:S4211, csharpsquid:S3244, csharpsquid:S5542, csharpsquid:S3246, csharpsquid:S4456, csharpsquid:S3005, csharpsquid:S3247, csharpsquid:S4457, csharpsquid:S5547, csharpsquid:S3249, csharpsquid:S2953, csharpsquid:S3923, csharpsquid:S3925, csharpsquid:S3926, csharpsquid:S3927, csharpsquid:S1155, csharpsquid:S4790, csharpsquid:S3450, csharpsquid:S3330, csharpsquid:S3451, csharpsquid:S3453, csharpsquid:S2123, csharpsquid:S2365, csharpsquid:S2486, csharpsquid:S2245, csharpsquid:S4423, csharpsquid:S5753, csharpsquid:S3456, csharpsquid:S2368, csharpsquid:S3457, csharpsquid:S3458, csharpsquid:S4426, csharpsquid:S3217, csharpsquid:S3459, csharpsquid:S3218, csharpsquid:S4428, csharpsquid:S1848, csharpsquid:S1048, csharpsquid:S1168, csharpsquid:S1163, csharpsquid:S1172, csharpsquid:S2251, csharpsquid:S2372, csharpsquid:S2252, csharpsquid:S3220, csharpsquid:S4792, csharpsquid:S818, csharpsquid:S3343, csharpsquid:S3464, csharpsquid:S2376, csharpsquid:S4433, csharpsquid:S3466, csharpsquid:S2257, csharpsquid:S3346, csharpsquid:S5766, csharpsquid:S2259, csharpsquid:S2930, csharpsquid:S2933, csharpsquid:S2934, csharpsquid:S3903, csharpsquid:S3904, csharpsquid:S1607, csharpsquid:S1135, csharpsquid:S1134, csharpsquid:S2583, csharpsquid:S2342{flagsAttributeFormat=^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$, format=^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$}, csharpsquid:S2222, csharpsquid:S2223, csharpsquid:S2344, csharpsquid:S3433, csharpsquid:S2345, csharpsquid:S2225, csharpsquid:S2346, csharpsquid:S4524, csharpsquid:S2589, csharpsquid:S1939, csharpsquid:S1944, csharpsquid:S1940, csharpsquid:S1144, csharpsquid:S1264, csharpsquid:S3440, csharpsquid:S3442, csharpsquid:S3443, csharpsquid:S2234, csharpsquid:S3444, csharpsquid:S2114, csharpsquid:S3445, csharpsquid:S2115, csharpsquid:S2479, csharpsquid:S3447, csharpsquid:S3449, csharpsquid:S3329, csharpsquid:S1118, csharpsquid:S1117, csharpsquid:S1116, csharpsquid:S1479{maximum=30}, csharpsquid:S4070, csharpsquid:S1110, csharpsquid:S5042, csharpsquid:S2681, csharpsquid:S5034, csharpsquid:S2201, csharpsquid:S3655, csharpsquid:S3776{threshold=15, propertyThreshold=3}, csharpsquid:S3897, csharpsquid:S4502, csharpsquid:S2688, csharpsquid:S2326, csharpsquid:S3415, csharpsquid:S2328, csharpsquid:S4507, csharpsquid:S1006, csharpsquid:S1125, csharpsquid:S1123, csharpsquid:S1121, csharpsquid:S1481, csharpsquid:S2692, csharpsquid:S2696, csharpsquid:S2699, csharpsquid:S4635, csharpsquid:S3427, csharpsquid:S2219, csharpsquid:S1215, csharpsquid:S1699, csharpsquid:S1210, csharpsquid:S1450, csharpsquid:S3871, csharpsquid:S3875, csharpsquid:S3877, csharpsquid:S3998, csharpsquid:S2306, csharpsquid:S1104, csharpsquid:S4061, csharpsquid:S3881, csharpsquid:S2551, csharpsquid:S3400, csharpsquid:S3884, csharpsquid:S3885, csharpsquid:S3887, csharpsquid:S2436{maxMethod=3, max=2}, csharpsquid:S2437, csharpsquid:S3889, csharpsquid:S1905, csharpsquid:S1313, csharpsquid:S2092, csharpsquid:S3060, csharpsquid:S4143, csharpsquid:S4144, csharpsquid:S6444, csharpsquid:S2761, csharpsquid:S3971, csharpsquid:S3972, csharpsquid:S3610, csharpsquid:S3973, csharpsquid:S1206, csharpsquid:S4275, csharpsquid:S5122, csharpsquid:S4035, csharpsquid:S4277, csharpsquid:S3981, csharpsquid:S4036, csharpsquid:S4158, csharpsquid:S4830, csharpsquid:S4159, csharpsquid:S3984, csharpsquid:S3626, csharpsquid:S3869, csharpsquid:S1656, csharpsquid:S2190, csharpsquid:S5332, csharpsquid:S6420, csharpsquid:S2187, csharpsquid:S3397, csharpsquid:S4487, csharpsquid:S6422, csharpsquid:S927, csharpsquid:S2068{credentialWords=password, passwd, pwd, passphrase}, csharpsquid:S6424, csharpsquid:S2743, csharpsquid:S125, csharpsquid:S110{max=5}, csharpsquid:S112, csharpsquid:S4260, csharpsquid:S3172, csharpsquid:S2077, csharpsquid:S3168, csharpsquid:S4015, csharpsquid:S4136, csharpsquid:S3169, csharpsquid:S2995, csharpsquid:S3600, csharpsquid:S3963, csharpsquid:S2996, csharpsquid:S4019, csharpsquid:S2755, csharpsquid:S2997, csharpsquid:S3603, csharpsquid:S3966, csharpsquid:S2757, csharpsquid:S3604, csharpsquid:S101, csharpsquid:S1751, csharpsquid:S1871, csharpsquid:S1199, csharpsquid:S2290, csharpsquid:S2291, csharpsquid:S2292, csharpsquid:S3260, csharpsquid:S1075, csharpsquid:S3261, csharpsquid:S3262, csharpsquid:S3010, csharpsquid:S4220, csharpsquid:S4583, csharpsquid:S3011, csharpsquid:S3376, csharpsquid:S4586, csharpsquid:S3256, csharpsquid:S907, csharpsquid:S108, csharpsquid:S107{max=7}, csharpsquid:S1643, csharpsquid:S1764, csharpsquid:S2183, csharpsquid:S5693{fileUploadSizeLimit=8000000}, csharpsquid:S2184, csharpsquid:S2053, csharpsquid:S3263, csharpsquid:S3264, csharpsquid:S3265, csharpsquid:S5443, csharpsquid:S2178, csharpsquid:S3267, csharpsquid:S2971, csharpsquid:S5445, csharpsquid:S2612, csharpsquid:S6419, csharpsquid:S2857, csharpsquid:S2737, css:S4647, css:S4658, css:S1116, css:S4657, css:S4668, css:S1128, css:S4649, css:S4648, css:S4659{ignorePseudoClasses=local,global,export,import}, css:S4654{ignoreTypes=composes, /^mso-/, ignoreSelectors=/^:export.*/, /^:import.*/}, css:S4653, css:S4656{ignoreFallbacks=true}, css:S4667, css:S4655, css:S4666, css:S4650, css:S4661, css:S4660{ignorePseudoElements=ng-deep,v-deep,deep}, css:S4652, css:S4663, css:S4651, css:S4662{ignoreAtRules=value,at-root,content,debug,each,else,error,for,function,if,include,mixin,return,warn,while,extend,use,forward,tailwind,apply,layer,/^@.*/}, css:S4670{ignoreTypes=/^(mat|md|fa)-/, ignore=custom-elements}, Web:DoctypePresenceCheck, Web:ImgWithoutAltCheck, Web:PageWithoutTitleCheck, Web:TableWithoutCaptionCheck, Web:ServerSideImageMapsCheck, Web:S4645, Web:S1134, Web:S5257, Web:S1135, Web:S5258, Web:FieldsetWithoutLegendCheck, Web:S5255, Web:S5256, Web:S5254, Web:S4084, Web:ItemTagNotWithinContainerTagCheck, Web:MetaRefreshCheck, Web:S1827, Web:LinkToImageCheck, Web:FrameWithoutTitleCheck, Web:S5725, Web:FlashUsesBothObjectAndEmbedCheck, Web:UnsupportedTagsInHtml5Check, Web:S5148, Web:S5264, Web:TableHeaderHasIdOrScopeCheck, Web:S5260, Web:AvoidCommentedOutCodeCheck, javascript:S3785, javascript:S5842, javascript:S6019, javascript:S1121, javascript:S3782, javascript:S1481, javascript:S2692, javascript:S5728, javascript:S1128, javascript:S1126, javascript:S2699, javascript:S5604{permissions=geolocation}, javascript:S5725, javascript:S4634, javascript:S1125, javascript:S5843{maxComplexity=20}, javascript:S2201, javascript:S2685, javascript:S3531, javascript:S1472, javascript:S2681, javascript:S1119, javascript:S4507, javascript:S5958, javascript:S6486, javascript:S6245, javascript:S2688, javascript:S1479{maximum=30}, javascript:S3415, javascript:S4624, javascript:S3776{threshold=15}, javascript:S4502, javascript:S6249, javascript:S6252, javascript:S5042, javascript:S2310, javascript:S878, javascript:S2432, javascript:S5148, javascript:S6353, javascript:S3403, javascript:S6477, javascript:S1226, javascript:S6478, javascript:S6479, javascript:S6481, javascript:S4619, javascript:S888, javascript:S4165, javascript:S4043, javascript:S1219, javascript:S3516, javascript:S4721, javascript:S6351, javascript:S4830, javascript:S1321, javascript:S4158, javascript:S5247, javascript:S3981, javascript:S4036, javascript:S930, javascript:S4275, javascript:S5122, javascript:S6330, javascript:S6331, javascript:S3626, javascript:S6332, javascript:S3504, javascript:S6333, javascript:S3500, javascript:S3863, javascript:S3984, javascript:S3972, javascript:S6327, javascript:S6328, javascript:S6329, javascript:S4144, javascript:S4143, javascript:S6440, javascript:S1439, javascript:S3616, javascript:S6441, javascript:S6321, javascript:S6442, javascript:S3735, javascript:S6443, javascript:S1313, javascript:S6323, javascript:S1314, javascript:S3854, javascript:S4822, javascript:S6324, javascript:S6325, javascript:S6326, javascript:S4030, javascript:S2092, javascript:S2871, javascript:S6317, javascript:S6438, javascript:S2077, javascript:S2990, javascript:S6439, javascript:S2870, javascript:S6319, javascript:S1788, javascript:S2757, javascript:S2999{considerJSDoc=false}, javascript:S2755, javascript:S6435, javascript:S1301, javascript:S4138, javascript:S4140, javascript:S2068{credentialWords=password, pwd, passwd}, javascript:S2189, javascript:S6426, javascript:S4125, javascript:S4123, javascript:S6308, javascript:S5332, javascript:S5693{fileUploadSizeLimit=8000000, standardSizeLimit=2000000}, javascript:S1656, javascript:S1536, javascript:S3834, javascript:S1533, javascript:S1534, javascript:S6302, javascript:S6303, javascript:S2970, javascript:S5443, javascript:S1527, javascript:S2737, javascript:S1764, javascript:S1523, javascript:S2612, javascript:S1763, javascript:S5689, javascript:S1529, javascript:S5691, javascript:S108, javascript:S107{maximumFunctionParameters=7}, javascript:S1871, javascript:S1515, javascript:S1516, javascript:S3812, javascript:S905, javascript:S1874, javascript:S1751, javascript:S1994, javascript:S6092, javascript:S101{format=^[A-Z][a-zA-Z0-9]*$}, javascript:S1186, javascript:S3001, javascript:S5542, javascript:S2392, javascript:S3923, javascript:S6079, javascript:S3800, javascript:S5547, javascript:S1862, javascript:S6080, javascript:S128, javascript:S2703, javascript:S1854, javascript:S5659, javascript:S3358, javascript:S125, javascript:S2251, javascript:S4790, javascript:S2814, javascript:S6299, javascript:S2259, javascript:S5527, javascript:S2137, javascript:S2819, javascript:S1848, javascript:S2123, javascript:S4423, javascript:S2245, javascript:S3696, javascript:S3330, javascript:S5759, javascript:S3579, javascript:S4426, javascript:S5757, javascript:S3699, javascript:S5876, javascript:S3686, javascript:S5743, javascript:S2234, javascript:S5742, javascript:S5863, javascript:S1143, javascript:S1264, javascript:S5860, javascript:S6275, javascript:S6397, javascript:S6035, javascript:S5869, javascript:S1940, javascript:S5868, javascript:S2598, javascript:S6281, javascript:S3796, javascript:S5732, javascript:S1134, javascript:S5852, javascript:S5730, javascript:S5850, javascript:S5739, javascript:S6265, javascript:S2589, javascript:S5736, javascript:S6268, javascript:S3799, javascript:S5856, javascript:S1135, javascript:S4524, javascript:S5734, javascript:S6270, secrets:S6292, secrets:S6334, secrets:S6335, secrets:S6336, secrets:S6337, secrets:S6338, secrets:S6290, typescript:S1128, typescript:S5728, typescript:S4634, typescript:S1125, typescript:S5843{maxComplexity=20}, typescript:S905, typescript:S2699, typescript:S5604{permissions=geolocation}, typescript:S5725, typescript:S6019, typescript:S5730, typescript:S5850, typescript:S5732, typescript:S6268, typescript:S1134, typescript:S5852, typescript:S6265, typescript:S5739, typescript:S1135, typescript:S4524, typescript:S5734, typescript:S2589, typescript:S5736, typescript:S3799, typescript:S5856, typescript:S101{format=^[A-Z][a-zA-Z0-9]*$}, typescript:S6270, typescript:S1143, typescript:S1264, typescript:S5743, typescript:S2234, typescript:S5742, typescript:S5863, typescript:S6035, typescript:S108, typescript:S5860, typescript:S6275, typescript:S107{maximumFunctionParameters=7}, typescript:S6397, typescript:S5869, typescript:S2598, typescript:S1940, typescript:S5868, typescript:S6281, typescript:S2123, typescript:S4423, typescript:S2245, typescript:S3696, typescript:S4782, typescript:S3330, typescript:S5759, typescript:S3699, typescript:S5876, typescript:S3579, typescript:S4426, typescript:S5757, typescript:S125, typescript:S128, typescript:S6299, typescript:S4790, typescript:S2251, typescript:S2137, typescript:S5527, typescript:S2819, typescript:S1848, typescript:S4322, typescript:S4323, typescript:S1854, typescript:S3358, typescript:S4325, typescript:S5659, typescript:S1186, typescript:S3001, typescript:S5542, typescript:S4335, typescript:S2392, typescript:S6079, typescript:S3923, typescript:S5547, typescript:S1862, typescript:S6080, typescript:S1871, typescript:S3812, typescript:S1515, typescript:S1516, typescript:S1751, typescript:S1994, typescript:S1874, typescript:S6092, typescript:S5443, typescript:S2970, typescript:S2737, typescript:S1763, typescript:S5689, typescript:S1764, typescript:S1523, typescript:S2612, typescript:S1529, typescript:S5691, typescript:S4124, typescript:S6303, typescript:S4123, typescript:S2068{credentialWords=password, pwd, passwd}, typescript:S6302, typescript:S5693{fileUploadSizeLimit=8000000, standardSizeLimit=2000000}, typescript:S5332, typescript:S878, typescript:S1656, typescript:S6308, typescript:S1533, typescript:S6426, typescript:S1534, typescript:S2077, typescript:S2990, typescript:S6435, typescript:S2870, typescript:S2871, typescript:S1788, typescript:S2757, typescript:S2999{considerJSDoc=false}, typescript:S6439, typescript:S1301, typescript:S4138, typescript:S6319, typescript:S2755, typescript:S6317, typescript:S6438, typescript:S4140, typescript:S6325, typescript:S6326, typescript:S3972, typescript:S6323, typescript:S6324, typescript:S6321, typescript:S6442, typescript:S6443, typescript:S4144, typescript:S6440, typescript:S4143, typescript:S6441, typescript:S3735, typescript:S1439, typescript:S3616, typescript:S6329, typescript:S1313, typescript:S6327, typescript:S1314, typescript:S3854, typescript:S4822, typescript:S6328, typescript:S2092, typescript:S4030, typescript:S3981, typescript:S4036, typescript:S4156, typescript:S4830, typescript:S4158, typescript:S5247, typescript:S6332, typescript:S6333, typescript:S6330, typescript:S4275, typescript:S5122, typescript:S6331, typescript:S888, typescript:S3626, typescript:S3504, typescript:S3863, typescript:S3984, typescript:S4043, typescript:S4165, typescript:S3516, typescript:S1219, typescript:S4721, typescript:S6351, typescript:S6479, typescript:S2310, typescript:S6477, typescript:S5148, typescript:S6478, typescript:S6353, typescript:S1226, typescript:S4619, typescript:S6481, typescript:S1472, typescript:S6249, typescript:S4621, typescript:S2201, typescript:S2685, typescript:S3531, typescript:S6486, typescript:S6245, typescript:S2681, typescript:S5958, typescript:S1119, typescript:S4507, typescript:S3776{threshold=15}, typescript:S4502, typescript:S4623, typescript:S2688, typescript:S1479{maximum=30}, typescript:S3415, typescript:S4624, typescript:S6252, typescript:S5042, typescript:S1121, typescript:S5842, typescript:S2692]
inputFiles: [
]
]
[2024-07-12T15:32:17.983] [SonarLint Server RPC request executor] ERROR sonarlint - No file to analyze
File is available under given path since once link is clicked file opens in Rider. Downgrading to version 10.5.0.78339 does fix the problem and SonarLint runs analysis in offline and connected mode without any issues.
Also when Rider is launched and SonarLint plugin is initialized there is an error message popping up in the logs:
[2024-07-12T15:27:43.812] [SonarLint Server RPC request executor] ERROR sonarlint - Error loading components for plugin 'aemrules'
java.lang.NoClassDefFoundError: org/sonar/plugins/java/api/CheckRegistrar
at com.cognifide.aemrules.AemRulesSonarPlugin.define(AemRulesSonarPlugin.java:60)
at org.sonarsource.sonarlint.core.plugin.commons.ExtensionInstaller.install(ExtensionInstaller.java:52)
at org.sonarsource.sonarlint.core.rule.extractor.RulesDefinitionExtractorContainer.doBeforeStart(RulesDefinitionExtractorContainer.java:54)
at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:180)
at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.execute(SpringComponentContainer.java:161)
at org.sonarsource.sonarlint.core.rule.extractor.RulesDefinitionExtractor.extractRules(RulesDefinitionExtractor.java:39)
at org.sonarsource.sonarlint.core.rules.RulesExtractionHelper.extractRulesForConnection(RulesExtractionHelper.java:57)
at org.sonarsource.sonarlint.core.repository.rules.RulesRepository.lazyInit(RulesRepository.java:81)
at org.sonarsource.sonarlint.core.repository.rules.RulesRepository.getRule(RulesRepository.java:72)
at org.sonarsource.sonarlint.core.analysis.AnalysisService.tryConvertDeprecatedKeys(AnalysisService.java:385)
at org.sonarsource.sonarlint.core.analysis.AnalysisService.lambda$buildConnectedActiveRules$7(AnalysisService.java:290)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1850)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at org.sonarsource.sonarlint.core.analysis.AnalysisService.buildConnectedActiveRules(AnalysisService.java:284)
at org.sonarsource.sonarlint.core.analysis.AnalysisService.lambda$getAnalysisConfig$0(AnalysisService.java:229)
at java.base/java.util.Optional.map(Optional.java:260)
at org.sonarsource.sonarlint.core.analysis.AnalysisService.getAnalysisConfig(AnalysisService.java:229)
at org.sonarsource.sonarlint.core.analysis.AnalysisService.getAnalysisConfigForEngine(AnalysisService.java:236)
at org.sonarsource.sonarlint.core.analysis.AnalysisService.analyze(AnalysisService.java:558)
at org.sonarsource.sonarlint.core.rpc.impl.AnalysisRpcServiceDelegate.lambda$analyzeFilesAndTrack$8(AnalysisRpcServiceDelegate.java:128)
at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$0(AbstractRpcServiceDelegate.java:67)
at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.computeWithLogger(AbstractRpcServiceDelegate.java:135)
at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$1(AbstractRpcServiceDelegate.java:65)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.ClassNotFoundException: org.sonar.plugins.java.api.CheckRegistrar
... 35 more
Also I have the ‘Analysis Properties’ configured as such:
sonar.cs.internal.loadProjectsOnDemand true
sonar.cs.internal.useNet6 false