Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan fails if AuxClasspath contains non-existing files #15

Closed
ybroeker opened this issue Jan 5, 2021 · 0 comments
Closed

Scan fails if AuxClasspath contains non-existing files #15

ybroeker opened this issue Jan 5, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@ybroeker
Copy link
Owner

ybroeker commented Jan 5, 2021

ERROR - plication.impl.ApplicationImpl - java.nio.file.NoSuchFileException: /usr/lib/jvm/java-11-openjfx/lib 
java.lang.RuntimeException: java.nio.file.NoSuchFileException: /usr/lib/jvm/java-11-openjfx/lib
	at net.sourceforge.pmd.cache.AbstractAnalysisCache.getClassPathEntries(AbstractAnalysisCache.java:210)
	at net.sourceforge.pmd.cache.AbstractAnalysisCache.checkValidity(AbstractAnalysisCache.java:146)
	at net.sourceforge.pmd.processor.AbstractPMDProcessor.processFiles(AbstractPMDProcessor.java:115)
	at com.github.ybroeker.pmdidea.pmdwrapper.PmdRunner.run(PmdRunner.java:111)
	at com.github.ybroeker.pmdidea.pmdwrapper.PmdWrapperImpl.runPmd(PmdWrapperImpl.java:46)
	at com.github.ybroeker.pmdidea.pmd.PmdAdapterDelegate.runPmd(PmdAdapterDelegate.java:30)
	at com.github.ybroeker.pmdidea.actions.scan.AbstractScanAction.lambda$actionPerformed$0(AbstractScanAction.java:89)
	at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20)
	at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11)
	at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:268)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.nio.file.NoSuchFileException: /usr/lib/jvm/java-11-openjfx/lib
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
	at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
	at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149)
	at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
	at java.base/java.nio.file.Files.readAttributes(Files.java:1763)
	at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:225)
	at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276)
	at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:322)
	at java.base/java.nio.file.Files.walkFileTree(Files.java:2716)
	at net.sourceforge.pmd.cache.AbstractAnalysisCache.getClassPathEntries(AbstractAnalysisCache.java:199)
	... 17 more
ERROR - plication.impl.ApplicationImpl - IntelliJ IDEA 2020.2.3  Build #IC-202.7660.26 
ERROR - plication.impl.ApplicationImpl - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: N/A 
ERROR - plication.impl.ApplicationImpl - OS: Linux 
ERROR - plication.impl.ApplicationImpl - Plugin to blame: PMD-IDEA version: 1.3.2 
ERROR - plication.impl.ApplicationImpl - Last Action: PmdScanProjectAction 
@ybroeker ybroeker added the bug Something isn't working label Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant