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

ExcludeFilter configuration failed. #1492

Open
kristoferbirgir opened this issue Nov 2, 2023 · 0 comments
Open

ExcludeFilter configuration failed. #1492

kristoferbirgir opened this issue Nov 2, 2023 · 0 comments

Comments

@kristoferbirgir
Copy link

The error was copied to the clipboard. Press Command+V
Product Infos
SpotBugs: 4.4.2
IntelliJ SpotBugs plugin: 1.2.5
IDEA: IntelliJ IDEA 2022.2.4
IDEA-Build: IC-222.4459.24, November 22, 2022
JRE: 17.0.5+7-b469.71 x86_64
JVM: OpenJDK 64-Bit Server VM JetBrains s.r.o.

ExcludeFilter configuration failed.
java.io.FileNotFoundException: /Users/kristoferbirgir/Documents/HÍ/Tölvunarfræði 1/MinForrit2022/.lift/spotbugs.xml (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
at java.base/java.io.FileInputStream.(FileInputStream.java:157)
at edu.umd.cs.findbugs.filter.Filter.parse(Filter.java:207)
at edu.umd.cs.findbugs.filter.Filter.(Filter.java:133)
at edu.umd.cs.findbugs.FindBugs.configureFilter(FindBugs.java:471)
at edu.umd.cs.findbugs.FindBugs2.addFilter(FindBugs2.java:404)
at org.jetbrains.plugins.spotbugs.core.FindBugsStarter.configureFilter(FindBugsStarter.java:430)
at org.jetbrains.plugins.spotbugs.core.FindBugsStarter.executeImpl(FindBugsStarter.java:320)
at org.jetbrains.plugins.spotbugs.core.FindBugsStarter.asyncStartImpl(FindBugsStarter.java:214)
at org.jetbrains.plugins.spotbugs.core.FindBugsStarter.asyncStart(FindBugsStarter.java:191)
at org.jetbrains.plugins.spotbugs.core.FindBugsStarter.access$000(FindBugsStarter.java:54)
at org.jetbrains.plugins.spotbugs.core.FindBugsStarter$2.run(FindBugsStarter.java:175)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:442)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:114)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$5(CoreProgressManager.java:493)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:252)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:188)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:175)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)

gtoison added a commit to gtoison/spotbugs that referenced this issue Nov 9, 2023
java.io.FileInputStream seems to be running into issues when trying to
load files with non-ascii charatecter in the file name.
Other similar issues point to this happening on a Mac, so it might be
dependent on the combination of OS/JDK version/user settings
Originally reported here:
JetBrains/spotbugs-intellij-plugin#1492
hazendaz pushed a commit to spotbugs/spotbugs that referenced this issue Nov 11, 2023
* test: load a filter with non-ascii characters in file name

* Use java.nio to load filter files

java.io.FileInputStream seems to be running into issues when trying to
load files with non-ascii charatecter in the file name.
Other similar issues point to this happening on a Mac, so it might be
dependent on the combination of OS/JDK version/user settings
Originally reported here:
JetBrains/spotbugs-intellij-plugin#1492
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant