Error in SonarLint for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Linux amd64
  • IDE: PyCharm 2023.3.4
  • SonarLint: 10.4.1.77998
java.lang.Throwable: Invalid file: file:///home/develop/PycharmProjects/wickes-dl-data-ingestion-file-transfer/cloud_function/core-wickes-data-lake/CF_Rebate_Data_Dag_Trigger/CommonModule/CommonScript.py (invalid)
	at c.ij.oa.diagnostic.Logger.error(Logger.java:376)
	at c.ij.psi.impl.file.impl.FileManagerImpl.findFile(FileManagerImpl.java:354)
	at c.ij.psi.impl.PsiManagerImpl.findFile(PsiManagerImpl.java:163)
	at o.sl.ij.util.ProjectUtils.toPsiFile(ProjectUtils.java:80)
	at o.sl.ij.finding.RawIssueAdapter.transformFlows(RawIssueAdapter.java:91)
	at o.sl.ij.finding.RawIssueAdapter.lambda$toLiveIssue$1(RawIssueAdapter.java:71)
	at o.sl.ij.common.ui.ReadActionUtils$Companion.computeReadActionSafely$lambda$3(ReadActionUtils.kt:61)
	at c.ij.oa.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:909)
	at c.ij.oa.application.ReadAction.compute(ReadAction.java:65)
	at o.sl.ij.common.ui.ReadActionUtils$Companion.computeReadActionSafely(ReadActionUtils.kt:60)
	at o.sl.ij.common.ui.ReadActionUtils.computeReadActionSafely(ReadActionUtils.kt)
	at o.sl.ij.finding.RawIssueAdapter.toLiveIssue(RawIssueAdapter.java:63)
	at o.sl.ij.analysis.RawFindingHandler.processIssue(RawFindingHandler.java:111)
	at o.sl.ij.analysis.RawFindingHandler.handle(RawFindingHandler.java:79)
	at o.ss.sl.core.client.legacy.analysis.SonarLintAnalysisEngine.streamIssue(SonarLintAnalysisEngine.java:223)
	at o.ss.sl.core.client.legacy.analysis.SonarLintAnalysisEngine.lambda$doAnalyze$4(SonarLintAnalysisEngine.java:202)

Hi,

Welcome to the community and thanks for this report!

We recently released 10.4.2. Can you upgrade and see if there’s still a problem?

 
Thx,
Ann