Skip to content

FNFE: "File system element for parameter 'source' does not exist" when executing DiktatSaveSmokeTest.beforeAll #1476

@0x6675636b796f75676974687562

Description

The problem started to occur after 54c8cce, initially on my TeamCity instance. Now, I encounter the same problem trying to perform a release:

Error:  org.cqfn.diktat.ruleset.smoke.DiktatSaveSmokeTest  Time elapsed: 4.207 s  <<< ERROR!
java.io.FileNotFoundException: File system element for parameter 'source' does not exist: ''
	at org.apache.commons.io.FileUtils.requireExistsChecked(FileUtils.java:2719)
	at org.apache.commons.io.FileUtils.requireFileCopy(FileUtils.java:2751)
	at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:840)
	at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:756)
	at org.cqfn.diktat.ruleset.smoke.DiktatSaveSmokeTest$Companion.beforeAll$diktat_rules(DiktatSaveSmokeTest.kt:114)
	at org.cqfn.diktat.ruleset.smoke.DiktatSaveSmokeTest.beforeAll$diktat_rules(DiktatSaveSmokeTest.kt)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
	...
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:223)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:139)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions