Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Ajay
, 10 months ago
Unable to load component class org.sonar.scanner.scan.ProjectLock
via Stack Overflow by Rémy Fischer
, 9 months ago
Unable to load component class org.sonar.scanner.scan.ProjectLock
via Stack Overflow by Marco Franzé
, 11 months ago
Unable to load component class org.sonar.scanner.scan.ProjectLock
via Stack Overflow by Philippe
, 1 year ago
via GitHub by ElGigi
, 3 weeks ago
Unable to load component class org.sonar.scanner.scan.ProjectLock
via Google Groups by Unknown author, 6 months ago
java.nio.file.AccessDeniedException: /opt/sonar/Projects/.sonar	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)	at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)	at java.nio.file.Files.createDirectory(Files.java:674)	at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)	at java.nio.file.Files.createDirectories(Files.java:767)	at org.sonar.scanner.scan.ProjectLock.(ProjectLock.java:39)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at org.picocontainer.injectors.AbstractInjector.newInstance(AbstractInjector.java:145)	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:342)	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:67)	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:678)	at org.sonar.core.platform.ComponentContainer.getComponentByType(ComponentContainer.java:272)	at org.sonar.scanner.scan.ProjectScanContainer.doBeforeStart(ProjectScanContainer.java:108)	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:140)	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)	at org.sonar.scanner.task.ScanTask.execute(ScanTask.java:47)	at org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:86)	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)	at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:115)	at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:118)	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)	at com.sun.proxy.$Proxy0.execute(Unknown Source)	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:244)	at org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:154)	at org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110)	at org.sonarsource.scanner.cli.Main.execute(Main.java:72)	at org.sonarsource.scanner.cli.Main.main(Main.java:60)