Uploaded image for project: 'SonarLint For IntelliJ'
  1. SonarLint For IntelliJ
  2. SLI-236

Exception in SonarLint for IntelliJ: Unable to delete directory

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Connected Mode
    • Labels:
      None

      Description

      SonarLint version 3.1.0.2089
      IntelliJ version 2017.2.3

      Unable to delete directory C:\Users\Tibor Blenessy\.IntelliJIdea2017.2\config\sonarlint\storage\dory\modules\build-wrapper-linux
      java.lang.IllegalStateException: Unable to delete directory C:\Users\Tibor Blenessy\.IntelliJIdea2017.2\config\sonarlint\storage\dory\modules\build-wrapper-linux
      	at org.sonarsource.sonarlint.core.client.api.util.FileUtils.deleteRecursively(FileUtils.java:112)
      	at org.sonarsource.sonarlint.core.client.api.util.FileUtils.replaceDir(FileUtils.java:151)
      	at org.sonarsource.sonarlint.core.container.connected.update.perform.ModuleStorageUpdateExecutor.update(ModuleStorageUpdateExecutor.java:63)
      	at org.sonarsource.sonarlint.core.container.connected.ConnectedContainer.updateModule(ConnectedContainer.java:117)
      	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.updateModule(ConnectedSonarLintEngineImpl.java:260)
      	at org.sonarlint.intellij.tasks.ServerUpdateTask.updateModule(ServerUpdateTask.java:181)
      	at org.sonarlint.intellij.tasks.ServerUpdateTask.updateModules(ServerUpdateTask.java:161)
      	at org.sonarlint.intellij.tasks.ServerUpdateTask.run(ServerUpdateTask.java:106)
      	at org.sonarlint.intellij.tasks.ServerUpdateTask$2.run(ServerUpdateTask.java:81)
      	at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:718)
      	at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:170)
      	at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548)
      	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493)
      	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
      	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
      	at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:165)
      	at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:342)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.nio.file.DirectoryNotEmptyException: C:\Users\Tibor Blenessy\.IntelliJIdea2017.2\config\sonarlint\storage\dory\modules\build-wrapper-linux\server_issues\8
      	at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:266)
      	at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
      	at java.nio.file.Files.delete(Files.java:1126)
      	at org.sonarsource.sonarlint.core.client.api.util.FileUtils$1.postVisitDirectory(FileUtils.java:107)
      	at org.sonarsource.sonarlint.core.client.api.util.FileUtils$1.postVisitDirectory(FileUtils.java:98)
      	at java.nio.file.Files.walkFileTree(Files.java:2688)
      	at java.nio.file.Files.walkFileTree(Files.java:2742)
      	at org.sonarsource.sonarlint.core.client.api.util.FileUtils.deleteRecursively(FileUtils.java:98)
      	... 21 more
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              janos.gyerik Janos Gyerik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: