Uploaded image for project: 'SonarLint For Eclipse'
  1. SonarLint For Eclipse
  2. SLE-474

Restore backward compatibility of ISonarLintFile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.1
    • Fix Version/s: 6.2
    • Component/s: API
    • Labels:
      None

      Description

      Methode ISonarLintFile::isScmIgnored was added to the interface without default implementation, so external implementors like IDz are failing with:

      !ENTRY org.eclipse.core.jobs 4 2 2021-09-21 10:40:06.316 !MESSAGE An internal error occurred during: "SonarLint processing file XCK10.AUV.AG221.S.CNTL(AT140A.cbl)".
      !STACK 0 java.lang.AbstractMethodError: org/sonarlint/eclipse/core/resource/ISonarLintFile.isScmIgnored()Z
      at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.isScmIgnored(AbstractAnalyzeProjectJob.java:189)
      at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.lambda$2(AbstractAnalyzeProjectJob.java:125)
      at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob$$Lambda$909/0x00000000f71777a0.accept(Unknown Source) at java.util.Arrays$ArrayList.forEach(Arrays.java:4224)
      at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.doRun(AbstractAnalyzeProjectJob.java:123)
      at org.sonarlint.eclipse.core.internal.jobs.AbstractSonarProjectJob.run(AbstractSonarProjectJob.java:45)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
      

        Attachments

          Activity

            People

            Assignee:
            julien.henry Julien Henry
            Reporter:
            julien.henry Julien Henry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: