Connected to SonarCloud or SonarQube (and which version): Yes - SonarQube
And a thorough description of the problem / question:
Since version 4.7.0 and newer, the problems being found by sonarlint are not appearing in either the problems panel, or as a underline squiggle in the editor itself. - However I can see the plugin finding the issues when setting verbose logging option and looking at the sonarlint output
[Info - 16:07:52.532] Analysis detected 51 issues and 0 Security Hotspots in 356ms
Any guidance here would be great, so I can move forward from version 4.6.0
Hi Colin , yes thats correct, I have also just noticed these exceptions being thrown on most of the newer versions - but on V4.6 there is no exceptions at all
[Debug - 14:44:40.684] Restoring previous known findings database from /Users/sam/.sonarlint/storage/known_findings_backup.tar.gz
[Error - 14:44:40.688] Unable to restore known findings backup /Users/sam/.sonarlint/storage/known_findings_backup.tar.gz
[Debug - 14:44:40.688] Starting known findings database from /Users/sam/.sonarlint/known-findings-store13461253616212748980
[Error - 14:44:40.705] Failed to recover to valid root, address = 25173673, file = 00000000o00.xd
[Error - 14:44:40.705] jetbrains.exodus.log.DataCorruptionException: DataIterator: no more bytes available, address = -1, file = 00000000000.xd
at jetbrains.exodus.log.DataCorruptionException.raise(DataCorruptionException.java:33)
at jetbrains.exodus.log.DataIterator.next(DataIterator.java:61)
at jetbrains.exodus.log.Log.readNotNull(Log.kt:481)
at jetbrains.exodus.tree.btree.BTreeBase.getLoggable(BTreeBase.java:123)
at jetbrains.exodus.tree.btree.BTreeBase.loadLeaf(BTreeBase.java:156)
at jetbrains.exodus.tree.btree.BasePageMutable.getKey(BasePageMutable.java:158)
at jetbrains.exodus.tree.btree.BasePageMutable.binarySearch(BasePageMutable.java:264)
at jetbrains.exodus.tree.btree.BasePageMutable.binarySearch(BasePageMutable.java:223)
at jetbrains.exodus.tree.btree.BasePageMutable.binarySearch(BasePageMutable.java:218)
at jetbrains.exodus.tree.btree.BottomPageMutable.put(BottomPageMutable.java:65)
at jetbrains.exodus.tree.btree.BTreeMutable.put(BTreeMutable.java:142)
at jetbrains.exodus.tree.btree.BTreeMutable.put(BTreeMutable.java:124)
at jetbrains.exodus.env.MetaTreeImpl.cloneTree(MetaTreeImpl.java:273)
at jetbrains.exodus.env.MetaTreeImpl.create(MetaTreeImpl.java:69)
at jetbrains.exodus.env.EnvironmentImpl.<init>(EnvironmentImpl.java:131)
at jetbrains.exodus.env.Environments$newInstance$4.invoke(Environments.kt:46)
at jetbrains.exodus.env.Environments$newInstance$4.invoke(Environments.kt:46)
at jetbrains.exodus.env.Environments.prepare(Environments.kt:120)
at jetbrains.exodus.env.Environments.newInstance(Environments.kt:46)
at org.sonarsource.sonarlint.core.tracking.XodusKnownFindingsStore.buildEntityStore(XodusKnownFindingsStore.java:152)
at org.sonarsource.sonarlint.core.tracking.XodusKnownFindingsStore.<init>(XodusKnownFindingsStore.java:92)
at org.sonarsource.sonarlint.core.tracking.KnownFindingsStorageService.get(KnownFindingsStorageService.java:41)
at org.sonarsource.sonarlint.core.tracking.TrackingService.startMatchingSession(TrackingService.java:255)
at org.sonarsource.sonarlint.core.tracking.TrackingService.onAnalysisStarted(TrackingService.java:102)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:344)
at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:229)
at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:166)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:164)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:145)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:430)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:400)
at org.sonarsource.sonarlint.core.analysis.AnalysisService.analyze(AnalysisService.java:654)
at org.sonarsource.sonarlint.core.analysis.AnalysisService.lambda$triggerAnalysis$50(AnalysisService.java:904)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
[Error - 14:44:40.709] Unexpected error occurred in scheduled task
[Error - 14:44:40.709] jetbrains.exodus.crypto.InvalidCipherParametersException: Database is ciphered with different/unknown cipher parameters
at jetbrains.exodus.env.MetaTreeImpl.create(MetaTreeImpl.java:92)
at jetbrains.exodus.env.EnvironmentImpl.<init>(EnvironmentImpl.java:131)
at jetbrains.exodus.env.Environments$newInstance$4.invoke(Environments.kt:46)
at jetbrains.exodus.env.Environments$newInstance$4.invoke(Environments.kt:46)
at jetbrains.exodus.env.Environments.prepare(Environments.kt:120)
at jetbrains.exodus.env.Environments.newInstance(Environments.kt:46)
at org.sonarsource.sonarlint.core.tracking.XodusKnownFindingsStore.buildEntityStore(XodusKnownFindingsStore.java:152)
at org.sonarsource.sonarlint.core.tracking.XodusKnownFindingsStore.<init>(XodusKnownFindingsStore.java:92)
at org.sonarsource.sonarlint.core.tracking.KnownFindingsStorageService.get(KnownFindingsStorageService.java:41)
at org.sonarsource.sonarlint.core.tracking.TrackingService.startMatchingSession(TrackingService.java:255)
at org.sonarsource.sonarlint.core.tracking.TrackingService.onAnalysisStarted(TrackingService.java:102)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:344)
at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:229)
at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:166)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:164)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:145)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:430)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:400)
at org.sonarsource.sonarlint.core.analysis.AnalysisService.analyze(AnalysisService.java:654)
at org.sonarsource.sonarlint.core.analysis.AnalysisService.lambda$triggerAnalysis$50(AnalysisService.java:904)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
[Debug - 14:44:40.716] Start analysis
[Info - 14:44:40.718] Index files
[Debug - 14:44:40.718] Language of file "file:///Users/sam/Documents/gitProjects/reponame/plugins/pluginname/src/Controller/MyController.php" is set to "PHP"
[Info - 14:44:40.719] 1 file indexed
[Debug - 14:44:40.755] Added 304 checks for language='ts', repository='typescript'
[Debug - 14:44:40.756] Added 303 checks for language='js', repository='javascript'
[Debug - 14:44:40.758] No registered JsAnalysisConsumer.
[Debug - 14:44:40.766] 'JavaSensor' skipped because there are no related files in the current project
[Debug - 14:44:40.766] 'Python Sensor' skipped because there are no related files in the current project
[Debug - 14:44:40.766] 'IPython Notebooks Sensor' skipped because there are no related files in the current project
[Debug - 14:44:40.766] 'Code Quality and Security for Go' skipped because there are no related files in the current project
[Debug - 14:44:40.766] 'IaC Terraform Sensor' skipped because there are no related files in the current project
[Debug - 14:44:40.766] 'IaC CloudFormation Sensor' skipped because there are no related files in the current project
[Debug - 14:44:40.766] 'IaC Kubernetes Sensor' skipped because there are no related files in the current project
[Debug - 14:44:40.766] 'IaC AzureResourceManager Sensor' skipped because there are no related files in the current project
[Debug - 14:44:40.766] Execute Sensor: Java Config Sensor
[Info - 14:44:40.766] 0 source files to be analyzed
[Info - 14:44:40.766] 0/0 source files have been analyzed
[Debug - 14:44:40.766] 'T-SQL Sensor' skipped because there are no related files in the current project
[Debug - 14:44:40.766] 'JavaScript/TypeScript analysis' skipped because there are no related files in the current project
[Debug - 14:44:40.766] 'JavaScript inside YAML analysis' skipped because there are no related files in the current project
[Debug - 14:44:40.766] 'JavaScript inside HTML analysis' skipped because there are no related files in the current project
[Debug - 14:44:40.766] Execute Sensor: CSS Rules
[Info - 14:44:40.766] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped.
[Debug - 14:44:40.766] 'PL/SQL Sensor' skipped because there are no related files in the current project
[Debug - 14:44:40.766] 'OmniSharp' skipped because there are no related files in the current project
[Debug - 14:44:40.766] Execute Sensor: HTML
[Debug - 14:44:40.767] 'XML Sensor' skipped because there are no related files in the current project
[Debug - 14:44:40.767] Execute Sensor: PHP sensor
[Info - 14:44:40.772] Starting PHP symbol indexer
[Info - 14:44:40.773] 1 source file to be analyzed
[Info - 14:44:40.779] 1/1 source file has been analyzed
[Info - 14:44:40.779] Cached information of global symbols will be used for 0 out of 1 files. Global symbols were recomputed for the remaining files.
[Warn - 14:44:40.779] No workDir in SonarLint
[Info - 14:44:40.784] Starting PHP rules
[Info - 14:44:40.784] 1 source file to be analyzed
[Debug - 14:44:40.813] Initializing metadata of file file:///Users/sam/Documents/gitProjects/reponame/plugins/pluginname/src/Controller/MyController.php
[Info - 14:44:40.818] 1/1 source file has been analyzed
[Info - 14:44:40.818] The PHP analyzer was able to leverage cached data from previous analyses for 0 out of 1 files. These files were not parsed.
[Debug - 14:44:40.818] Execute Sensor: Analyzer for "php.ini" files
[Debug - 14:44:40.818] Execute Sensor: TextAndSecretsSensor
[Info - 14:44:40.839] 1 source file to be analyzed
[Info - 14:44:40.858] 1/1 source file has been analyzed
[Debug - 14:44:40.858] Execute Sensor: IaC Docker Sensor
[Info - 14:44:40.862] 0 source files to be analyzed
[Info - 14:44:40.862] 0/0 source files have been analyzed
[Debug - 14:44:40.862] 'CFamily' skipped because there are no related files in the current project
[Debug - 14:44:40.862] Execute Sensor: pythonbugs
[Info - 14:44:40.862] Analysis detected 28 issues and 0 Security Hotspots in 209ms