java.nio.file.NoSuchFileException: C:\Buildtools\Jenkins\workspace\Sonar_Runner\.sonar_lock

GitHub | movedoa | 8 months ago
  1. 0

    Error while analysing listing with 1.8.0

    GitHub | 8 months ago | movedoa
    java.nio.file.NoSuchFileException: C:\Buildtools\Jenkins\workspace\Sonar_Runner\.sonar_lock
  2. 0

    SonarQube Cxx Plugin: xunit xslt

    Stack Overflow | 8 months ago | Christopher
    java.nio.file.NoSuchFileException: Q:\arsg4_trunk\.sonar_lock
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Sonar Lock File Not Found Exception

    Stack Overflow | 6 months ago | user3617723
    java.nio.file.NoSuchFileException: \\vboxsrv\jobs\Aviva.Mobile-Release\workspace\.sonar_lock
  5. 0

    Sonarqube: Job fails with Couldn't delete lock file: .././.sonar_lock java.nio.file.NoSuchFileException

    Google Groups | 6 months ago | Shashank Devan
    java.nio.file.NoSuchFileException: /Users/shashank.devan/dev/myproject/./.sonar_lock> Buildiat sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)

  1. poroszd 1 times, last 2 months ago
  2. poroszd 1 times, last 8 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.nio.file.NoSuchFileException

    C:\Buildtools\Jenkins\workspace\Sonar_Runner\.sonar_lock

    at sun.nio.fs.WindowsException.translateToIOException()
  2. Java RT
    Files.delete
    1. sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79)
    2. sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    3. sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    4. sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    5. sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
    6. java.nio.file.Files.delete(Files.java:1126)
    6 frames
  3. SonarQube :: Home
    DirectoryLock.unlock
    1. org.sonar.home.cache.DirectoryLock.unlock(DirectoryLock.java:98)
    1 frame
  4. SonarQube
    ProjectLock.stop
    1. org.sonar.batch.scan.ProjectLock.stop(ProjectLock.java:57)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  6. PicoContainer Core
    DefaultPicoContainer.stop
    1. org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
    2. org.picocontainer.lifecycle.ReflectionLifecycleStrategy.stop(ReflectionLifecycleStrategy.java:96)
    3. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.stop(AbstractInjectionFactory.java:88)
    4. org.picocontainer.behaviors.AbstractBehavior.stop(AbstractBehavior.java:179)
    5. org.picocontainer.behaviors.Stored$RealComponentLifecycle.stop(Stored.java:141)
    6. org.picocontainer.behaviors.Stored.stop(Stored.java:118)
    7. org.picocontainer.DefaultPicoContainer.stopAdapters(DefaultPicoContainer.java:1048)
    8. org.picocontainer.DefaultPicoContainer.stop(DefaultPicoContainer.java:803)
    8 frames
  7. org.sonar.core
    ComponentContainer.execute
    1. org.sonar.core.platform.ComponentContainer.stopComponents(ComponentContainer.java:166)
    2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
    2 frames
  8. org.sonar.batch
    TaskContainer.doAfterStart
    1. org.sonar.batch.task.ScanTask.execute(ScanTask.java:55)
    2. org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)
    2 frames
  9. org.sonar.core
    ComponentContainer.execute
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
    2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:120)
    2 frames
  10. SonarQube
    Batch.executeTask
    1. org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:122)
    2. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)
    2 frames
  11. SonarQube Runner - Batch
    BatchIsolatedLauncher.execute
    1. org.sonar.runner.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:67)
    1 frame
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  13. SonarQube Runner
    IsolatedLauncherProxy.invoke
    1. org.sonar.runner.impl.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:61)
    1 frame
  14. com.sun.proxy
    $Proxy0.execute
    1. com.sun.proxy.$Proxy0.execute(Unknown Source)
    1 frame
  15. SonarQube Runner
    EmbeddedRunner.runAnalysis
    1. org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:274)
    2. org.sonar.runner.api.EmbeddedRunner.runAnalysis(EmbeddedRunner.java:165)
    3. org.sonar.runner.api.EmbeddedRunner.runAnalysis(EmbeddedRunner.java:152)
    3 frames
  16. org.sonarsource.scanner
    SonarQubeTask.execute
    1. org.sonarsource.scanner.ant.SonarQubeTask.launchAnalysis(SonarQubeTask.java:72)
    2. org.sonarsource.scanner.ant.SonarQubeTask.execute(SonarQubeTask.java:55)
    2 frames
  17. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    1 frame
  18. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    3 frames
  19. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.Target.execute(Target.java:435)
    4. org.apache.tools.ant.Target.performTasks(Target.java:456)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    7. org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440)
    9. org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    10. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    10 frames
  20. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    3 frames
  21. Ant
    Main.startAnt
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.Target.execute(Target.java:435)
    4. org.apache.tools.ant.Target.performTasks(Target.java:456)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    6. org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    8. org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    9. org.apache.tools.ant.Main.runBuild(Main.java:851)
    10. org.apache.tools.ant.Main.startAnt(Main.java:235)
    10 frames
  22. Apache Ant Launcher
    Launcher.run
    1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    1 frame