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

Stack Overflow | Philippe | 2 months ago
  1. 0

    ERROR: Error during SonarQube Scanner execution caused by: java.lang.IllegalStateException: Failed to create work directory

    Stack Overflow | 2 months ago | Philippe
    java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.ProjectLock
  2. 0

    elasticsearch crashes if config/scripts directory does not exist

    GitHub | 1 year ago | sanori
    java.nio.file.AccessDeniedException: /usr/share/elasticsearch/config/scripts
  3. 0

    GitHub comment 14573#155157461

    GitHub | 1 year ago | kt97679
    java.nio.file.AccessDeniedException: /usr/share/elasticsearch/data
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to access 'path.data'

    GitHub | 1 year ago | solidfoxrock
    java.nio.file.AccessDeniedException: /usr/share/elasticsearch/data/elasticsearch
  6. 0

    Elastic Search Not Finding Data Directory

    Stack Overflow | 12 months ago | Ed Baker
    java.lang.IllegalStateException: Unable to access 'path.data' (/home/elasticUser/elasticFiles)

    10 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.AccessDeniedException

      /opt/sonar/Projects/.sonar

      at sun.nio.fs.UnixException.translateToIOException()
    2. Java RT
      Files.createDirectories
      1. sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
      2. sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      3. sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
      4. sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
      5. java.nio.file.Files.createDirectory(Files.java:674)
      6. java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
      7. java.nio.file.Files.createDirectories(Files.java:767)
      7 frames
    3. org.sonar.scanner
      ProjectLock.<init>
      1. org.sonar.scanner.scan.ProjectLock.<init>(ProjectLock.java:39)
      1 frame
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      4 frames
    5. PicoContainer Core
      DefaultPicoContainer.getComponent
      1. org.picocontainer.injectors.AbstractInjector.newInstance(AbstractInjector.java:145)
      2. org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:342)
      3. org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
      4. org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
      5. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
      6. org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
      7. org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
      8. org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
      9. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
      9 frames
    6. org.sonar.core
      ComponentContainer$ExtendedDefaultPicoContainer.getComponent
      1. org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:67)
      1 frame
    7. PicoContainer Core
      DefaultPicoContainer.getComponent
      1. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:678)
      1 frame
    8. org.sonar.core
      ComponentContainer.getComponentByType
      1. org.sonar.core.platform.ComponentContainer.getComponentByType(ComponentContainer.java:272)
      1 frame
    9. org.sonar.scanner
      ProjectScanContainer.doBeforeStart
      1. org.sonar.scanner.scan.ProjectScanContainer.doBeforeStart(ProjectScanContainer.java:108)
      1 frame
    10. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:140)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
      2 frames
    11. org.sonar.scanner
      TaskContainer.doAfterStart
      1. org.sonar.scanner.task.ScanTask.execute(ScanTask.java:47)
      2. org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:86)
      2 frames
    12. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
      2 frames
    13. org.sonar.scanner
      GlobalContainer.executeTask
      1. org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:115)
      1 frame
    14. SonarQube
      Batch.executeTask
      1. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:118)
      1 frame
    15. org.sonarsource.scanner
      BatchIsolatedLauncher.execute
      1. org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)
      1 frame
    16. 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:498)
      4 frames
    17. org.sonarsource.scanner
      IsolatedLauncherProxy.invoke
      1. org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
      1 frame
    18. com.sun.proxy
      $Proxy0.execute
      1. com.sun.proxy.$Proxy0.execute(Unknown Source)
      1 frame
    19. org.sonarsource.scanner
      Main.main
      1. org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:244)
      2. org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:154)
      3. org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110)
      4. org.sonarsource.scanner.cli.Main.execute(Main.java:72)
      5. org.sonarsource.scanner.cli.Main.main(Main.java:60)
      5 frames