java.lang.IllegalStateException: Unable to load component class org.sonar.batch.scan.ProjectLock

codegur.com | 2 months ago
  1. 0

    After upgrade from SonarQube 4.5.4 LTS to 5.3, Ant analysis unable to delete files

    Stack Overflow | 7 months ago | David M
    java.lang.IllegalStateException: Unable to load component class org.sonar.batch.scan.ProjectLock
  2. 0

    After upgrade from SonarQube 4.5.4 LTS to 5.3, Ant analysis unable to delete files

    codegur.com | 2 months ago
    java.lang.IllegalStateException: Unable to load component class org.sonar.batch.scan.ProjectLock
  3. 0

    T-SPARQL test fail

    GitHub | 2 years ago | skodape
    java.io.IOException: Unable to delete file: C:\Users\Petyr\AppData\Local\Temp\7708574074026886311\dataUnits\test_env_72636635\values.id
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 26#126354328

    GitHub | 1 year ago | vorburger
    java.io.IOException: Unable to delete file: /tmp/MariaDB4j/base/share/swedish/errmsg.sys
  6. 0

    Spoon deleted all the files in the Documents directory

    Stack Overflow | 1 year ago | Christ Hunt
    java.lang.RuntimeException: Unable to clean output directory: /Users/MyUsername/Documents

    3 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.io.IOException

      Unable to delete file: C:\build-dir\PUM-PUM30SONAR-JOB1\.sonar\cache\ff4174ae66dafc76b7dd3adbf9942334\sonar-pmd-plugin-2.5.jar_unzip\META-INF\lib\sslr-xpath-1.20.jar

      at org.apache.commons.io.FileUtils.forceDelete()
    2. Commons IO
      FileUtils.deleteDirectory
      1. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
      2. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      3. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      4. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
      5. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      6. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      7. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
      8. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      9. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      10. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
      11. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      12. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      13. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
      14. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      15. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      16. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
      17. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      18. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      18 frames
    3. SonarQube
      MutableProjectReactorProvider.provide
      1. org.sonar.batch.scan.MutableProjectReactorProvider.cleanDirectory(MutableProjectReactorProvider.java:43)
      2. org.sonar.batch.scan.MutableProjectReactorProvider.provide(MutableProjectReactorProvider.java:36)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. PicoContainer Core
      DefaultPicoContainer.getComponent
      1. org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129)
      2. org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39)
      3. org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113)
      4. org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
      5. org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)
      6. org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
      7. org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
      8. org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
      9. org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
      10. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
      10 frames
    6. org.sonar.core
      ComponentContainer$ExtendedDefaultPicoContainer.getComponent
      1. org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:60)
      1 frame
    7. PicoContainer Core
      DefaultPicoContainer.getComponent
      1. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
      2. org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
      3. org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
      4. org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
      5. org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
      6. org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
      7. org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
      8. org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
      9. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
      10. org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
      11. org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
      12. org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
      13. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
      13 frames
    8. org.sonar.core
      ComponentContainer$ExtendedDefaultPicoContainer.getComponent
      1. org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:60)
      1 frame
    9. PicoContainer Core
      DefaultPicoContainer.getComponent
      1. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:678)
      1 frame
    10. org.sonar.core
      ComponentContainer.getComponentByType
      1. org.sonar.core.platform.ComponentContainer.getComponentByType(ComponentContainer.java:262)
      1 frame
    11. SonarQube
      ProjectScanContainer.doBeforeStart
      1. org.sonar.batch.scan.ProjectScanContainer.doBeforeStart(ProjectScanContainer.java:109)
      1 frame
    12. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:130)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:117)
      2 frames
    13. 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
    14. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:132)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:117)
      2 frames
    15. 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
    16. SonarQube Runner - Batch
      BatchIsolatedLauncher.execute
      1. org.sonar.runner.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:67)
      1 frame
    17. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    18. SonarQube Runner
      IsolatedLauncherProxy.invoke
      1. org.sonar.runner.impl.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:61)
      1 frame
    19. com.sun.proxy
      $Proxy0.execute
      1. com.sun.proxy.$Proxy0.execute(Unknown Source)
      1 frame
    20. 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
    21. 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
    22. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
      1 frame
    23. 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:606)
      3 frames
    24. 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
    25. Apache Ant Launcher
      Launcher.main
      1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      2 frames