https://kotlinlang.org logo
#detekt
Title
# detekt
j

Joe

03/24/2020, 1:15 AM
I'm getting the following exception with detekt 1.7.0 when using
--config-resource detekt-config.yml
to read a config file out of a jar on the classpath. running detekt via maven antrun plugin. works fine in 1.6.0. anyone else seen anything like this?
Copy code
java.nio.file.FileSystemNotFoundException
	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getFileSystem(ZipFileSystemProvider.java:169)
	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getPath(ZipFileSystemProvider.java:155)
	at java.base/java.nio.file.Path.of(Path.java:208)
	at java.base/java.nio.file.Paths.get(Paths.java:97)
	at io.gitlab.arturbosch.detekt.rules.documentation.LicenceHeaderLoaderExtension.init(LicenceHeaderLoaderExtension.kt:27)
	at io.gitlab.arturbosch.detekt.core.FileProcessorLocator.load(FileProcessorLocator.kt:18)
	at io.gitlab.arturbosch.detekt.core.DetektFacade$Companion.create(DetektFacade.kt:90)
	at io.gitlab.arturbosch.detekt.cli.runners.Runner.execute(Runner.kt:33)
	at io.gitlab.arturbosch.detekt.cli.Main.main(Main.kt:20)
b

Brais Gabin

03/24/2020, 9:21 AM
Can you open an issue in the project? It seems like a bug
4 Views