No issue to display for TS files in Intlellij 2024.3

Please provide

  • Operating system: macOS Ventura Version 13.7.1
  • SonarLint plugin version: 10.13.1.80133
  • IntelliJ version: 2024.3
  • Programming language you’re coding in: TypeScript
  • Is connected mode used: doesn’t work with and without SonarQube 10.6

And a thorough description of the problem / question:
No issues to display for all TypeScript files inside the IDE while on SonarQube issues are reported for the same files

Logs

Trigger: CURRENT_FILE_ACTION
[CURRENT_FILE_ACTION] 1 file(s) submitted
Configuring analysis with org.sonarlint.intellij.java.JavaAnalysisConfigurator
Analysing '<my-file-to-check>.ts' (ID 19a40cd2-aa18-4e0b-b541-a028955cab65)...
 [2024-12-11T17:09:06.695] [SonarLint Server RPC request executor] INFO sonarlint - Triggering analysis with configuration: [
  baseDir: /<my-repo-path>
  extraProperties: {sonar.java.target=8, sonar.java.libraries=/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/charsets.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/cldrdata.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/dnsns.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/jaccess.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/localedata.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/nashorn.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/sunec.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/zipfs.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/jce.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/jfr.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/jsse.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/management-agent.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/resources.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/rt.jar,/Users/<my-user>/Library/Application Support/JetBrains/IntelliJIdea2024.3/javascript/extLibs/http_cdn.cookielaw.org_scripttemplates_otSDKStub.js, sonar.java.enablePreview=false, sonar.java.source=8, sonar.java.jdkHome=/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home, sonar.java.test.libraries=/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/charsets.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/cldrdata.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/dnsns.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/jaccess.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/localedata.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/nashorn.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/sunec.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/ext/zipfs.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/jce.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/jfr.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/jsse.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/management-agent.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/resources.jar,/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/lib/rt.jar,/Users/<my-user>/Library/Application Support/JetBrains/IntelliJIdea2024.3/javascript/extLibs/http_cdn.cookielaw.org_scripttemplates_otSDKStub.js}
  activeRules: [14 kubernetes, 214 python, 24 css, 109 kotlin, 29 secrets, 265 javascript, 26 docker, 28 ruby, 477 java, 46 Web, 14 xml, 155 php, 7 terraform, 267 typescript, 7 cloudformation]
  inputFiles: [
    file:///<my-repo-path>/<my-file-to-check>.ts (UTF-8)
  ]
]

 [2024-12-11T17:09:06.898] [sonarlint-analysis-engine] DEBUG sonarlint - Start analysis
 [2024-12-11T17:09:06.899] [sonarlint-analysis-engine] INFO sonarlint - Index files
 [2024-12-11T17:09:06.899] [sonarlint-analysis-engine] DEBUG sonarlint - Language of file "file:///<my-repo-path>/<my-file-to-check>.ts" is detected to be "TS"
 [2024-12-11T17:09:06.899] [Report about progress of file indexation] INFO sonarlint - 1 file indexed
 [2024-12-11T17:09:06.909] [sonarlint-analysis-engine] DEBUG sonarlint - Added 267 checks for language='ts', repository='typescript'
 [2024-12-11T17:09:06.909] [sonarlint-analysis-engine] DEBUG sonarlint - Added 265 checks for language='js', repository='javascript'
 [2024-12-11T17:09:06.91] [sonarlint-analysis-engine] DEBUG sonarlint - No registered JsAnalysisConsumer.
 [2024-12-11T17:09:06.911] [sonarlint-analysis-engine] DEBUG sonarlint - Registered check: [RedundantAssignmentsCheck (java:S4165), XmlValidatedSignatureCheck (java:S6377), MinMaxRangeCheck (java:S3065), DenialOfServiceXMLCheck (java:S6376), ConditionalUnreachableCodeCheck (java:S2583), AllowXMLInclusionCheck (java:S6373), UnclosedResourcesCheck (java:S2095), MapComputeIfAbsentOrPresentCheck (java:S3824), NonNullSetToNullCheck (java:S2637), InvariantReturnCheck (java:S3516), StreamConsumedCheck (java:S3959), StreamNotConsumedCheck (java:S3958), DivisionByZeroCheck (java:S3518), NullDereferenceCheck (java:S2259), OptionalGetBeforeIsPresentCheck (java:S3655), BooleanGratuitousExpressionsCheck (java:S2589), XxeProcessingCheck (java:S2755), ObjectOutputStreamCheck (java:S2689), ParameterNullnessCheck (java:S4449), NoWayOutLoopCheck (java:S2189), LocksNotUnlockedCheck (java:S2222)]
 [2024-12-11T17:09:06.919] [sonarlint-analysis-engine] DEBUG sonarlint - Registered check: [AbsOnNegativeCheck (java:S2676), AccessibilityChangeCheck (java:S3011), AccessibilityChangeOnRecordsCheck (java:S6216), AllBranchesAreIdenticalCheck (java:S3923), AnchorPrecedenceCheck (java:S5850), AndroidMobileDatabaseEncryptionKeysCheck (java:S6301), AnonymousClassShouldBeLambdaCheck (java:S1604), ArrayCopyLoopCheck (java:S3012), ArrayDesignatorAfterTypeCheck (java:S1195), ArrayDesignatorOnVariableCheck (java:S1197), ArrayForVarArgCheck (java:S3878), ArrayHashCodeAndToStringCheck (java:S2116), ArraysAsListOfPrimitiveToStreamCheck (java:S3631), AssertOnBooleanVariableCheck (java:S3346), AssertionsInProductionCodeCheck (java:S5960), AssertsOnParametersOfPublicMethodCheck (java:S4274), AssignmentInSubExpressionCheck (java:S1121), AsyncMethodsCalledViaThisCheck (java:S6809), AsyncMethodsOnConfigurationClassCheck (java:S6817), AsyncMethodsReturnTypeCheck (java:S6810), AuthorizationsStrongDecisionsCheck (java:S5808), AutowiredOnConstructorWhenMultipleConstructorsCheck (java:S6829), AutowiredOnMultipleConstructorsCheck (java:S6818), AvoidQualifierOnBeanMethodsCheck (java:S6831), AwsConsumerBuilderUsageCheck (java:S6244), AwsCredentialsShouldBeSetExplicitlyCheck (java:S6242), AwsLambdaSyncCallCheck (java:S6246), AwsRegionSetterCheck (java:S6262), AwsRegionShouldBeSetExplicitlyCheck (java:S6241), AwsReusableResourcesInitializedOnceCheck (java:S6243), BadClassNameCheck (java:S101), BadConstantNameCheck (java:S115), BadFieldNameCheck (java:S116), BadFieldNameStaticNonFinalCheck (java:S3008), BadInterfaceNameCheck (java:S114), BadLocalVariableNameCheck (java:S117), BadMethodNameCheck (java:S100), BadPackageNameCheck (java:S120), BadTypeParameterNameCheck (java:S119), BatchSQLStatementsCheck (java:S6912), BigDecimalDoubleConstructorCheck (java:S2111), BlockingOperationsInVirtualThreadsCheck (java:S6881), BooleanInversionCheck (java:S1940), BooleanLiteralCheck (java:S1125), BooleanMethodReturnCheck (java:S2447), BoxedBooleanExpressionsCheck (java:S5411), BrainMethodCheck (java:S6541), CallOuterPrivateMethodCheck (java:S3398), CallSuperMethodFromInnerClassCheck (java:S2388), CallToDeprecatedCodeMarkedForRemovalCheck (java:S5738), CallToDeprecatedMethodCheck (java:S1874), CanonEqFlagInRegexCheck (java:S5854), CaseInsensitiveComparisonCheck (java:S1157), CastArithmeticOperandCheck (java:S2184), CatchIllegalMonitorStateExceptionCheck (java:S2235), CatchOfThrowableOrErrorCheck (java:S1181), CatchRethrowingCheck (java:S2737), ChangeMethodContractCheck (java:S2638), ChildClassShadowFieldCheck (java:S2387), CipherBlockChainingCheck (java:S3329), ClassComparedByNameCheck (java:S1872), ClassImportCouplingCheck (java:S6539), ClassNamedLikeExceptionCheck (java:S2166), ClassVariableVisibilityCheck (java:S1104), ClassWithOnlyStaticMethodsInstantiationCheck (java:S2440), CloneMethodCallsSuperCloneCheck (java:S1182), CloneOverrideCheck (java:S2975), CloneableImplementingCloneCheck (java:S2157), CognitiveComplexityMethodCheck (java:S3776), CollapsibleIfCandidateCheck (java:S1066), CollectionCallingItselfCheck (java:S2114), CollectionConstructorReferenceCheck (java:S5329), CollectionImplementationReferencedCheck (java:S1319), CollectionInappropriateCallsCheck (java:S2175), CollectionIsEmptyCheck (java:S1155), CollectionSizeAndArrayLengthCheck (java:S3981), CollectionsEmptyConstantsCheck (java:S1596), CollectorsToListCheck (java:S6204), CombineCatchCheck (java:S2147), CommentedOutCodeLineCheck (java:S125), CompareStringsBoxedTypesWithEqualsCheck (java:S4973), CompareToNotOverloadedCheck (java:S4351), CompareToResultTestCheck (java:S2200), CompareToReturnValueCheck (java:S2167), ConcatenationWithStringValueOfCheck (java:S1153), ConditionalOnNewLineCheck (java:S3972), ConfigurationBeanNamesCheck (java:S6862), ConfusingOverloadCheck (java:S2177), ConfusingVarargCheck (java:S5669), ConstantMathCheck (java:S2185), ConstantMethodCheck (java:S3400), ConstantsShouldBeStaticFinalCheck (java:S1170), ControlCharacterInLiteralCheck (java:S2479), ControllerWithRestControllerReplacementCheck (java:S6833), ControllerWithSessionAttributesCheck (java:S3753), CounterModeIVShouldNotBeReusedCheck (java:S6432), CryptographicKeySizeCheck (java:S4426), CustomSerializationMethodCheck (java:S2061), DanglingElseStatementsCheck (java:S5261), DateFormatWeekYearCheck (java:S3986), DateTimeFormatterMismatchCheck (java:S5917), DateUtilsTruncateCheck (java:S2718), DeadStoreCheck (java:S1854), DefaultPackageCheck (java:S1220), DeprecatedArgumentsCheck (java:S6355), DeprecatedTagPresenceCheck (java:S1133), DepthOfInheritanceTreeCheck (java:S110), DiamondOperatorCheck (java:S2293), DirectBeanMethodInvocationWithoutProxyCheck (java:S6838), DisallowedThreadGroupCheck (java:S3014), DoubleBraceInitializationCheck (java:S3599), DoubleCheckedLockingAssignmentCheck (java:S3064), DoubleCheckedLockingCheck (java:S2168), DoublePrefixOperatorCheck (java:S2761), DuplicateConditionIfElseIfCheck (java:S1862), DuplicatesInCharacterClassCheck (java:S5869), EmptyBlockCheck (java:S108), EmptyClassCheck (java:S2094), EmptyDatabasePasswordCheck (java:S2115), EmptyLineRegexCheck (java:S5846), EmptyMethodsCheck (java:S1186), EmptyRegexGroupCheck (java:S6331), EmptyStatementUsageCheck (java:S1116), EmptyStringRepetitionCheck (java:S5842), EncryptionAlgorithmCheck (java:S5542), EnumMapCheck (java:S1640), EnumMutableFieldCheck (java:S3066), EqualsArgumentTypeCheck (java:S2097), EqualsNotOverriddenInSubclassCheck (java:S2160), EqualsNotOverriddenWithCompareToCheck (java:S1210), EqualsOnAtomicClassCheck (java:S2204), EqualsOverriddenWithHashCodeCheck (java:S1206), EqualsParametersMarkedNonNullCheck (java:S4454), EscapeSequenceControlCharacterCheck (java:S6070), ExceptionsShouldBeImmutableCheck (java:S1165), ExternalizableClassConstructorCheck (java:S2060), FieldDependencyInjectionCheck (java:S6813), FieldNameMatchingTypeNameCheck (java:S1700), FixmeTagPresenceCheck (java:S1134), ForLoopCounterChangedCheck (java:S127), ForLoopFalseConditionCheck (java:S2252), ForLoopIncrementAndUpdateCheck (java:S1994), ForLoopIncrementSignCheck (java:S2251), ForLoopUsedAsWhileLoopCheck (java:S1264), ForLoopVariableTypeCheck (java:S4838), GarbageCollectorCalledCheck (java:S1215), GetRequestedSessionIdCheck (java:S2254), GettersSettersOnRightFieldCheck (java:S4275), GraphemeClustersInClassesCheck (java:S5868), HardCodedCredentialsShouldNotBeUsedCheck (java:S6437), HardcodedURICheck (java:S1075), HasNextCallingNextCheck (java:S1849), HiddenFieldCheck (java:S1117), IdenticalCasesInSwitchCheck (java:S1871), IdenticalOperandOnBinaryExpressionCheck (java:S1764), IgnoredOperationStatusCheck (java:S899), IgnoredReturnValueCheck (java:S2201), IgnoredStreamReturnValueCheck (java:S2674), ImmediateReverseBoxingCheck (java:S2153), ImmediatelyReturnedVariableCheck (java:S1488), ImplementsEnumerationCheck (java:S1150), ImpossibleBackReferenceCheck (java:S6001), ImpossibleBoundariesCheck (java:S5996), InappropriateRegexpCheck (java:S2639), IndentationAfterConditionalCheck (java:S3973), IndexOfWithPositiveNumberCheck (java:S2692), InnerClassOfNonSerializableCheck (java:S2066), InputStreamOverrideReadCheck (java:S4929), InputStreamReadCheck (java:S4517), InsecureCreateTempFileCheck (java:S5445), InstanceOfPatternMatchingCheck (java:S6201), InstanceofUsedOnExceptionCheck (java:S1193), IntegerToHexStringCheck (java:S4425), InterfaceAsConstantContainerCheck (java:S1214), InterfaceOrSuperclassShadowingCheck (java:S2176), InterruptedExceptionCheck (java:S2142), InvalidDateValuesCheck (java:S2110), InvalidRegexCheck (java:S5856), IsInstanceMethodCheck (java:S6202), IterableIteratorCheck (java:S4348), IteratorNextExceptionCheck (java:S2272), JWTWithStrongCipherCheck (java:S5659), JdbcDriverExplicitLoadingCheck (java:S4925), KeySetInsteadOfEntrySetCheck (java:S2864), KeywordAsIdentifierCheck (java:S1190), KnownCapacityHashBasedCollectionCheck (java:S6485), LDAPAuthenticatedConnectionCheck (java:S4433), LabelsShouldNotBeUsedCheck (java:S1119), LambdaOptionalParenthesisCheck (java:S1611), LambdaSingleExpressionCheck (java:S1602), LazyArgEvaluationCheck (java:S2629), LoggedRethrownExceptionsCheck (java:S2139), LoggerClassCheck (java:S3416), LongBitsToDoubleOnIntCheck (java:S2127), LoopExecutingAtMostOnceCheck (java:S1751), MathClampMethodsCheck (java:S6885), MathClampRangeCheck (java:S6913), MembersDifferOnlyByCapitalizationCheck (java:S1845), MethodIdenticalImplementationsCheck (java:S4144), MethodNameSameAsClassCheck (java:S1223), MethodNamedEqualsCheck (java:S1201), MethodNamedHashcodeOrEqualCheck (java:S1221), MethodOnlyCallsSuperCheck (java:S1185), MethodParametersOrderCheck (java:S2234), MismatchPackageDirectoryCheck (java:S1598), MissingDeprecatedCheck (java:S1123), MissingOverridesInRecordWithArrayComponentCheck (java:S6218), MissingPathVariableAnnotationCheck (java:S6856), ModelAttributeNamingConventionForSpELCheck (java:S6806), ModifiersOrderCheck (java:S1124), MultilineBlocksCurlyBracesCheck (java:S2681), MultipleWhitespaceCheck (java:S6326), NestedBlocksCheck (java:S1199), NestedEnumStaticCheck (java:S2786), NestedTernaryOperatorsCheck (java:S3358), NestedTryCatchCheck (java:S1141), NioFileDeleteCheck (java:S4042), NonSerializableWriteCheck (java:S2118), NonShortCircuitLogicCheck (java:S2178), NonSingletonAutowiredInSingletonCheck (java:S6832), NonStaticClassInitializerCheck (java:S1171), NotifyCheck (java:S2446), NullCheckWithInstanceofCheck (java:S4201), NullReturnedOnComputeIfPresentOrAbsentCheck (java:S6104), NullShouldNotBeUsedWithOptionalCheck (java:S2789), NullableInjectedFieldsHaveDefaultValueCheck (java:S6816), ObjectCreatedOnlyToCallGetClassCheck (java:S2133), ObjectFinalizeCheck (java:S1111), ObjectFinalizeOverloadedCheck (java:S1175), ObjectFinalizeOverriddenCheck (java:S1113), ObjectFinalizeOverriddenNotPublicCheck (java:S1174), OmitPermittedTypesCheck (java:S6217), OneDeclarationPerLineCheck (java:S1659), OpenSAML2AuthenticationBypassCheck (java:S5679), OptionalRestParametersShouldBeObjectsCheck (java:S6814), OutputStreamOverrideWriteCheck (java:S4349), OverrideAnnotationCheck (java:S1161), OverwrittenKeyCheck (java:S4143), ParameterReassignedToCheck (java:S1226), PasswordEncoderCheck (java:S5344), PatternMatchUsingIfCheck (java:S6880), PersistentEntityUsedAsRequestParameterCheck (java:S4684), PossessiveQuantifierContinuationCheck (java:S5994), PredictableSeedCheck (java:S4347), PreferStreamAnyMatchCheck (java:S4034), PreparedStatementAndResultSetCheck (java:S2695), PreparedStatementLoopInvariantCheck (java:S6909), PrimitiveWrappersInTernaryOperatorCheck (java:S2154), PrimitivesMarkedNullableCheck (java:S4682), PrintfFailCheck (java:S2275), PrintfMisuseCheck (java:S3457), PrivateFieldUsedLocallyCheck (java:S1450), PrivateReadResolveCheck (java:S2062), PublicConstructorInAbstractClassCheck (java:S5993), PublicStaticFieldShouldBeFinalCheck (java:S1444), PublicStaticMutableMembersCheck (java:S2386), QueryOnlyRequiredFieldsCheck (java:S6905), RandomFloatToIntCheck (java:S2140), RawByteBitwiseOperationsCheck (java:S3034), RawExceptionCheck (java:S112), RawTypeCheck (java:S3740), ReadObjectSynchronizedCheck (java:S2675), RecordInsteadOfClassCheck (java:S6206), RecordPatternInsteadOfFieldAccessCheck (java:S6878), RecordSerializationIgnoredMembersCheck (java:S6209), RedundantAbstractMethodCheck (java:S3038), RedundantCloseCheck (java:S4087), RedundantJumpCheck (java:S3626), RedundantRecordMethodsCheck (java:S6207), RedundantRegexAlternativesCheck (java:S5855), RedundantThrowsDeclarationCheck (java:S1130), RedundantTypeCastCheck (java:S1905), ReflectionOnNonRuntimeAnnotationCheck (java:S2109), RegexComplexityCheck (java:S5843), RegexLookaheadCheck (java:S6002), RegexStackOverflowCheck (java:S5998), ReleaseSensorsCheck (java:S6889), ReluctantQuantifierCheck (java:S5857), ReluctantQuantifierWithEmptyContinuationCheck (java:S6019), RepeatAnnotationCheck (java:S1710), ReplaceGuavaWithJavaCheck (java:S4738), ReplaceLambdaByMethodRefCheck (java:S1612), RequestMappingMethodPublicCheck (java:S3751), RestrictedIdentifiersUsageCheck (java:S6213), ResultSetIsLastCheck (java:S2232), ReturnEmptyArrayNotNullCheck (java:S1168), ReturnInFinallyCheck (java:S1143), ReturnOfBooleanExpressionsCheck (java:S1126), ReuseRandomCheck (java:S2119), ReverseSequencedCollectionCheck (java:S6877), ReversedMethodSequencedCollectionCheck (java:S6876), RunFinalizersCheck (java:S2151), ScheduledThreadPoolExecutorZeroCheck (java:S2122), SelfAssignementCheck (java:S1656), SerialVersionUidInRecordCheck (java:S6219), SerializableFieldInSerializableClassCheck (java:S1948), SerializableObjectInSessionCheck (java:S2441), SerializableSuperConstructorCheck (java:S2055), ServerCertificatesCheck (java:S4830), ServletInstanceFieldCheck (java:S2226), ServletMethodsExceptionsThrownCheck (java:S1989), SeveralBreakOrContinuePerLoopCheck (java:S135), ShiftOnIntOrLongCheck (java:S2183), SillyEqualsCheck (java:S2159), SillyStringOperationsCheck (java:S2121), SimpleStringLiteralForSingleLineStringsCheck (java:S5663), SingleCharCharacterClassCheck (java:S6397), SingleCharacterAlternationCheck (java:S6035), SingleIfInsteadOfPatternMatchGuardCheck (java:S6916), SingletonUsageCheck (java:S6548), SpecializedFunctionalInterfacesCheck (java:S4276), SpelExpressionCheck (java:S6857), SpringAntMatcherOrderCheck (java:S4601), SpringBeanNamingConventionCheck (java:S6830), SpringComposedRequestMappingCheck (java:S4488), SpringConfigurationWithAutowiredFieldsCheck (java:S3305), SpringIncompatibleTransactionalCheck (java:S2229), SpringScanDefaultPackageCheck (java:S4602), SpringSessionFixationCheck (java:S5876), StandardCharsetsConstantsCheck (java:S4719), StaticFieldUpateCheck (java:S2696), StaticFieldUpdateInConstructorCheck (java:S3010), StaticMemberAccessCheck (java:S3252), StaticMembersAccessCheck (java:S2209), StaticMultithreadedUnsafeFieldsCheck (java:S2885), StatusCodesOnResponseCheck (java:S6863), StreamPeekCheck (java:S3864), StringBufferAndBuilderWithCharCheck (java:S1317), StringCallsBeyondBoundsCheck (java:S3039), StringConcatToTextBlockCheck (java:S6126), StringConcatenationInLoopCheck (java:S1643), StringIndexOfRangesCheck (java:S6915), StringIsEmptyCheck (java:S7158), StringLiteralDuplicatedCheck (java:S1192), StringOffsetMethodsCheck (java:S4635), StringPrimitiveConstructorCheck (java:S2129), StringReplaceCheck (java:S5361), StringToPrimitiveConversionCheck (java:S2130), StringToStringCheck (java:S1858), StrongCipherAlgorithmCheck (java:S5547), SubClassStaticReferenceCheck (java:S2390), SunPackagesUsedCheck (java:S1191), SuperfluousCurlyBraceCheck (java:S6396), SuperfluousResponseBodyAnnotationCheck (java:S6837), SuspiciousListRemoveCheck (java:S5413), SwitchAtLeastThreeCasesCheck (java:S1301), SwitchCaseWithoutBreakCheck (java:S128), SwitchCasesShouldBeCommaSeparatedCheck (java:S6208), SwitchDefaultLastCaseCheck (java:S4524), SwitchLastCaseIsDefaultCheck (java:S131), SwitchRedundantKeywordCheck (java:S6205), SwitchWithLabelsCheck (java:S1219), SwitchWithTooManyCasesCheck (java:S1479), SyncGetterAndSetterCheck (java:S2886), SynchronizationOnGetClassCheck (java:S3067), SynchronizationOnStringOrBoxedCheck (java:S1860), SynchronizedClassUsageCheck (java:S1149), SynchronizedFieldAssignmentCheck (java:S2445), SynchronizedLockCheck (java:S2442), SynchronizedOverrideCheck (java:S3551), SystemOutOrErrUsageCheck (java:S106), TextBlockTabsAndSpacesCheck (java:S5664), TextBlocksInComplexExpressionsCheck (java:S6203), ThreadAsRunnableArgumentCheck (java:S2438), ThreadLocalCleanupCheck (java:S5164), ThreadLocalWithInitialCheck (java:S4065), ThreadOverridesRunCheck (java:S2134), ThreadRunCheck (java:S1217), ThreadSleepCheck (java:S2276), ThreadWaitCallCheck (java:S2236), ThrowsFromFinallyCheck (java:S1163), ToArrayCheck (java:S3020), ToStringReturningNullCheck (java:S2225), ToStringUsingBoxingCheck (java:S1158), TodoTagPresenceCheck (java:S1135), TooManyParametersCheck (java:S107), TransactionalMethodVisibilityCheck (java:S2230), TransientFieldInNonSerializableCheck (java:S2065), TryWithResourcesCheck (java:S2093), TwoLocksWaitCheck (java:S3046), TypeParametersShadowingCheck (java:S4977), TypeUpperBoundNotFinalCheck (java:S4968), URLHashCodeAndEqualsCheck (java:S2112), UnicodeCaseCheck (java:S5866), UnnecessaryBitOperationCheck (java:S2437), UnnecessaryEscapeSequencesInTextBlockCheck (java:S5665), UnpredictableSaltCheck (java:S2053), UnquantifiedNonCapturingGroupCheck (java:S6395), UnreachableCatchCheck (java:S4970), UnusedGroupNamesCheck (java:S5860), UnusedLabelCheck (java:S1065), UnusedLocalVariableCheck (java:S1481), UnusedMethodParameterCheck (java:S1172), UnusedPrivateClassCheck (java:S3985), UnusedPrivateFieldCheck (java:S1068), UnusedPrivateMethodCheck (java:S1144), UnusedReturnedDataCheck (java:S2677), UnusedThrowableCheck (java:S3984), UnusedTypeParameterCheck (java:S2326), UselessImportCheck (java:S1128), UselessIncrementCheck (java:S2123), UselessPackageInfoCheck (java:S4032), UselessParenthesesCheck (java:S1110), UtilityClassWithPublicConstructorCheck (java:S1118), ValueAnnotationShouldInjectPropertyOrSpELCheck (java:S6804), ValueBasedObjectUsedForLockCheck (java:S3436), VerboseRegexCheck (java:S6353), VerifiedServerHostnamesCheck (java:S5527), VirtualThreadNotSynchronizedCheck (java:S6906), VirtualThreadUnsupportedMethodsCheck (java:S6901), VisibleForTestingUsageCheck (java:S5803), VolatileNonPrimitiveFieldCheck (java:S3077), VolatileVariablesOperationsCheck (java:S3078), WaitInSynchronizeCheck (java:S2273), WaitInWhileLoopCheck (java:S2274), WaitOnConditionCheck (java:S1844), WeakSSLContextCheck (java:S4423), WildcardReturnParameterTypeCheck (java:S1452), WriteObjectTheOnlySynchronizedMethodCheck (java:S3042), WrongAssignmentOperatorCheck (java:S2757), XxeActiveMQCheck (java:S5301)]
 [2024-12-11T17:09:06.92] [sonarlint-analysis-engine] DEBUG sonarlint - Registered check: [ArrayDesignatorOnVariableCheck (java:S1197), AssertJApplyConfigurationCheck (java:S5831), AssertJAssertionsInConsumerCheck (java:S6103), AssertJChainSimplificationCheck (java:S5838), AssertJConsecutiveAssertionCheck (java:S5853), AssertJContextBeforeAssertionCheck (java:S5833), AssertJTestForEmptinessCheck (java:S5841), AssertThatThrownByAloneCheck (java:S5958), AssertTrueInsteadOfDedicatedAssertCheck (java:S5785), AssertionArgumentOrderCheck (java:S3415), AssertionCompareToSelfCheck (java:S5863), AssertionInThreadRunCheck (java:S2186), AssertionInTryCatchCheck (java:S5779), AssertionTypesCheck (java:S5845), AssertionsCompletenessCheck (java:S2970), AssertionsInTestsCheck (java:S2699), BadConstantNameCheck (java:S115), BadFieldNameCheck (java:S116), BadFieldNameStaticNonFinalCheck (java:S3008), BadInterfaceNameCheck (java:S114), BadLocalVariableNameCheck (java:S117), BadTestClassNameCheck (java:S3577), BadTypeParameterNameCheck (java:S119), BooleanInversionCheck (java:S1940), CallSuperInTestCaseCheck (java:S2188), CallToDeprecatedCodeMarkedForRemovalCheck (java:S5738), CallToDeprecatedMethodCheck (java:S1874), ClassComparedByNameCheck (java:S1872), CollapsibleIfCandidateCheck (java:S1066), CollectorsToListCheck (java:S6204), CombineCatchCheck (java:S2147), CommentedOutCodeLineCheck (java:S125), ConstantMathCheck (java:S2185), DeadStoreCheck (java:S1854), DefaultPackageCheck (java:S1220), DoubleCheckedLockingCheck (java:S2168), DuplicateConditionIfElseIfCheck (java:S1862), EmptyBlockCheck (java:S108), EmptyMethodsCheck (java:S1186), EmptyStatementUsageCheck (java:S1116), EnumMapCheck (java:S1640), ExpectedExceptionCheck (java:S5776), FixmeTagPresenceCheck (java:S1134), ForLoopIncrementAndUpdateCheck (java:S1994), HasNextCallingNextCheck (java:S1849), HiddenFieldCheck (java:S1117), IdenticalCasesInSwitchCheck (java:S1871), IgnoredTestsCheck (java:S1607), ImmediateReverseBoxingCheck (java:S2153), ImmediatelyReturnedVariableCheck (java:S1488), JUnit45MethodAnnotationCheck (java:S5826), JUnit5DefaultPackageClassAndMethodCheck (java:S5786), JUnit5SilentlyIgnoreClassAndMethodCheck (java:S5810), JUnitCompatibleAnnotationsCheck (java:S5967), JunitNestedAnnotationCheck (java:S5790), LambdaOptionalParenthesisCheck (java:S1611), LoopExecutingAtMostOnceCheck (java:S1751), MethodIdenticalImplementationsCheck (java:S4144), MethodNameSameAsClassCheck (java:S1223), MismatchPackageDirectoryCheck (java:S1598), MockingAllMethodsCheck (java:S5969), MockitoEqSimplificationCheck (java:S6068), ModifiersOrderCheck (java:S1124), NoTestInTestClassCheck (java:S2187), NonShortCircuitLogicCheck (java:S2178), ObjectCreatedOnlyToCallGetClassCheck (java:S2133), OneExpectedCheckedExceptionCheck (java:S5783), OneExpectedRuntimeExceptionCheck (java:S5778), OverrideAnnotationCheck (java:S1161), ParameterizedTestCheck (java:S5976), PrimitiveWrappersInTernaryOperatorCheck (java:S2154), PrintfMisuseCheck (java:S3457), RandomFloatToIntCheck (java:S2140), RedundantThrowsDeclarationCheck (java:S1130), RepeatAnnotationCheck (java:S1710), ReplaceGuavaWithJavaCheck (java:S4738), ReplaceLambdaByMethodRefCheck (java:S1612), RestrictedIdentifiersUsageCheck (java:S6213), SelfAssignementCheck (java:S1656), ShiftOnIntOrLongCheck (java:S2183), StringConcatToTextBlockCheck (java:S6126), StringConcatenationInLoopCheck (java:S1643), StringIsEmptyCheck (java:S7158), StringToPrimitiveConversionCheck (java:S2130), StringToStringCheck (java:S1858), SwitchCaseWithoutBreakCheck (java:S128), SwitchCasesShouldBeCommaSeparatedCheck (java:S6208), SwitchLastCaseIsDefaultCheck (java:S131), TestAnnotationWithExpectedExceptionCheck (java:S5777), TestsStabilityCheck (java:S5973), ThreadSleepInTestsCheck (java:S2925), TodoTagPresenceCheck (java:S1135), TooManyAssertionsCheck (java:S5961), TryWithResourcesCheck (java:S2093), UnusedLocalVariableCheck (java:S1481), UnusedMethodParameterCheck (java:S1172), UnusedPrivateFieldCheck (java:S1068), UnusedPrivateMethodCheck (java:S1144), UnusedTestRuleCheck (java:S2924), UselessImportCheck (java:S1128), UselessParenthesesCheck (java:S1110)]
 [2024-12-11T17:09:06.922] [sonarlint-analysis-engine] DEBUG sonarlint - 'JavaSensor' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.922] [sonarlint-analysis-engine] DEBUG sonarlint - 'Python Sensor' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.922] [sonarlint-analysis-engine] DEBUG sonarlint - 'IPython Notebooks Sensor' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.922] [sonarlint-analysis-engine] DEBUG sonarlint - 'Kotlin Sensor' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.922] [sonarlint-analysis-engine] DEBUG sonarlint - 'Gradle Sensor' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.922] [sonarlint-analysis-engine] DEBUG sonarlint - 'IaC Terraform Sensor' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.922] [sonarlint-analysis-engine] DEBUG sonarlint - 'IaC CloudFormation Sensor' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.922] [sonarlint-analysis-engine] DEBUG sonarlint - 'IaC Kubernetes Sensor' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.922] [sonarlint-analysis-engine] DEBUG sonarlint - 'IaC AzureResourceManager Sensor' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.922] [sonarlint-analysis-engine] DEBUG sonarlint - Execute Sensor: Java Config Sensor
 [2024-12-11T17:09:06.922] [Progress of the Java analysis] INFO sonarlint - 0 source files to be analyzed
 [2024-12-11T17:09:06.922] [Progress of the Java analysis] INFO sonarlint - 0/0 source files have been analyzed
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - Execute Sensor: JavaScript/TypeScript analysis
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] WARN sonarlint - No workDir in SonarLint
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - Skipping the start of the bridge server as it failed to start during the first analysis or it's not answering anymore
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - No rules will be executed
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] INFO sonarlint - Hit the cache for 0 out of 0
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] INFO sonarlint - Miss the cache for 0 out of 0
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - 'JavaScript inside YAML analysis' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - 'JavaScript inside HTML analysis' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - Execute Sensor: CSS Rules
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] INFO sonarlint - No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - 'Ruby Sensor' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - Execute Sensor: HTML
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - 'XML Sensor' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - 'PHP sensor' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - 'Analyzer for "php.ini" files' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - 'OmniSharp' skipped because there are no related files in the current project
 [2024-12-11T17:09:06.923] [sonarlint-analysis-engine] DEBUG sonarlint - Execute Sensor: IaC Docker Sensor
 [2024-12-11T17:09:06.924] [Progress of the Docker analysis] INFO sonarlint - 0 source files to be analyzed
 [2024-12-11T17:09:06.924] [Progress of the Docker analysis] INFO sonarlint - 0/0 source files have been analyzed
 [2024-12-11T17:09:06.925] [sonarlint-analysis-engine] DEBUG sonarlint - Execute Sensor: TextAndSecretsSensor
 [2024-12-11T17:09:06.925] [sonarlint-analysis-engine] INFO sonarlint - Available processors: 10
 [2024-12-11T17:09:06.925] [sonarlint-analysis-engine] INFO sonarlint - Using 10 threads for analysis.
 [2024-12-11T17:09:06.931] [sonarlint-analysis-engine] INFO sonarlint - Analyzing all except non binary files
 [2024-12-11T17:09:06.931] [Progress of the text and secrets analysis] INFO sonarlint - 1 source file to be analyzed
 [2024-12-11T17:09:06.936] [Progress of the text and secrets analysis] INFO sonarlint - 1/1 source file has been analyzed
 [2024-12-11T17:09:06.937] [sonarlint-analysis-engine] INFO sonarlint - Analysis detected 0 issues and 0 Security Hotspots in 249ms
Analysis 19a40cd2-aa18-4e0b-b541-a028955cab65 finished
Trigger: EDITOR_CHANGE
[EDITOR_CHANGE] 1 file(s) submitted
File 'workspace.xml' excluded: file is excluded or ignored in project structure

Same issue for me, but with C/C++ code.
On the sonarqube server has 1200+ issues, but when I run full project scan, SonarQube display that NO ISSUE FOUND …

Loaded custom plugins: EmmyLua (1.4.17-IDEA243), Uncrustify (0.2), SonarQube for IDE (10.13.1.80133)
IDE: CLion (build #CL-243.22562.155, Mon, 9 Dec 2024 12:52:00 GMT)
OS: Mac OS X (15.1.1)
JRE: 21.0.5+8-b631.28, aarch64 (JetBrains s.r.o.)
JVM: 21.0.5+8-b631.28 (OpenJDK 64-Bit Server VM)

Founded some sonarqube releated log lines:
WARN - c.i.u.Alarm - Do not create alarm without coroutineScope: org.sonarlint.intellij.ui.traffic.light.SonarLintDashboardPopup.(SonarLintDashboardPopup.kt:48)

WARN - c.i.i.s.i.StartupManagerImpl - Migrate org.sonarlint.intellij.StartServicesOnProjectOpened to ProjectActivity [Plugin: org.sonarlint.idea]

com.intellij.diagnostic.PluginException: Migrate org.sonarlint.intellij.StartServicesOnProjectOpened to ProjectActivity [Plugin: org.sonarlint.idea]
	at com.intellij.ide.startup.impl.StartupManagerImpl.doRunPostStartupActivities(StartupManagerImpl.kt:293)
	at com.intellij.ide.startup.impl.StartupManagerImpl.access$doRunPostStartupActivities(StartupManagerImpl.kt:70)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3$2.invokeSuspend(StartupManagerImpl.kt:196)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3$2.invoke(StartupManagerImpl.kt)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3$2.invoke(StartupManagerImpl.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
	at com.intellij.ide.startup.impl.StartupManagerImpl$runPostStartupActivities$3.invokeSuspend(StartupManagerImpl.kt:195)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:277)
	at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)

Hello, thanks for reaching out to us.

Skipping the start of the bridge server as it failed to start during the first analysis or it’s not answering anymore

I believe the issue is coming from this line. It would be better if you could provide us with full logs. The bridge server, used to analyze JS/TS, seems to be down. One reason for this could be that you went into power save mode, which shuts down the server; restarting your IDE should fix the issue. If it’s not linked to this, then we have to investigate logs.

Founded some sonarqube releated log lines:

WARN - c.i.u.Alarm - Do not create alarm without coroutineScope: org.sonarlint.intellij.ui.traffic.light.SonarLintDashboardPopup.(SonarLintDashboardPopup.kt:48)

WARN - c.i.i.s.i.StartupManagerImpl - Migrate org.sonarlint.intellij.StartServicesOnProjectOpened to ProjectActivity [Plugin: org.sonarlint.idea]

These ones are just warning and should not have any impacts.

Could you please provide the full logs, please?

Which log do you need?
Clion diagnostic logs? ot which file?

Thanks

The SonarQube for IDE logs, you can read how to get them on the link I shared just above. I’d suggest opening your IDE, scanning a file that is supposed to raise issues, and getting the logs at this point. Thanks!

For me I found the root of the problem.
CMake generation was corrupt, clear and regenerate the CMake cache and now works for me

2 Likes

These are the only log shown when the Analysis logs and Verbose output are checked or did I miss some more checks?

I’ve tried to restart IDE several times it didn’t help. But now I see new out of memory logs

 [2024-12-12T09:28:10.115] [nodejs-stream-consumer] ERROR sonarlint - The analysis will stop due to the Node.js process running out of memory (heap size limit 4144 MB)
 [2024-12-12T09:28:10.115] [nodejs-stream-consumer] ERROR sonarlint - You can see how Node.js heap usage evolves during analysis with "sonar.javascript.node.debugMemory=true"
 [2024-12-12T09:28:10.115] [nodejs-stream-consumer] ERROR sonarlint - Try setting "sonar.javascript.node.maxspace" to a higher value to increase Node.js heap size limit
 [2024-12-12T09:28:10.115] [nodejs-stream-consumer] ERROR sonarlint - If the problem persists, please report the issue at https://community.sonarsource.com
 [2024-12-12T09:28:10.115] [nodejs-stream-consumer] DEBUG sonarlint - The bridge server shut down
 [2024-12-12T09:28:10.115] [nodejs-stream-consumer] INFO sonarlint - Rule | Time (ms) | Relative
 [2024-12-12T09:28:10.115] [nodejs-stream-consumer] INFO sonarlint - :----|----------:|--------:
 [2024-12-12T09:28:10.115] [sonarlint-analysis-engine] ERROR sonarlint - Failed to get response while analyzing file:///<my-file>.ts
 [2024-12-12T09:28:10.115] [sonarlint-analysis-engine] ERROR sonarlint - Failure during analysis

and doubling the limit helped me, not sure why I didn’t saw this error yesterday

Hello @Valdermeyder,

Thanks you for the feedback. From this line, the process is killed because of out-of-memory:

[2024-12-12T09:28:10.115] [nodejs-stream-consumer] ERROR sonarlint - The analysis will stop due to the Node.js process running out of memory (heap size limit 4144 MB)

You can increase the available memory for the process using the following parameter: sonar.javascript.node.maxspace in the plugin settings.

Documentation reference

1 Like