You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo java -jar polystat.jar eo --in temp/sources/eo --to file=results/polystat-eo-out.txt --sarif
Got exception:
java.lang.Exception: results/polystat-eo-out.txt is either not a regular file or does not exist!
at org.polystat.cli.util.FileTypes$File$.fromPathFailFast$$anonfun$2(FileTypes.scala:63)
at delay @ fs2.io.file.FilesCompanionPlatform$AsyncFiles.isRegularFile(FilesPlatform.scala:273)
at ifM @ org.polystat.cli.util.FileTypes$Directory$.fromPath(FileTypes.scala:23)
at flatMap @ org.polystat.cli.util.FileTypes$File$.fromPathFailFast(FileTypes.scala:66)
at map @ org.polystat.cli.PolystatOpts$.files$$anonfun$1$$anonfun$1$$anonfun$1(PolystatOpts.scala:209)
at map @ org.polystat.cli.PolystatOpts$.files$$anonfun$1$$anonfun$1$$anonfun$1(PolystatOpts.scala:216)
at flatMap @ org.polystat.cli.PolystatOpts$.files$$anonfun$1$$anonfun$1(PolystatOpts.scala:216)
at map @ org.polystat.cli.PolystatOpts$.analyzerConfig$$anonfun$1$$anonfun$1$$anonfun$2(PolystatOpts.scala:227)
at flatMap @ org.polystat.cli.PolystatOpts$.analyzerConfig$$anonfun$1$$anonfun$1(PolystatOpts.scala:227)
at delay @ fs2.io.file.FilesCompanionPlatform$AsyncFiles.isDirectory(FilesPlatform.scala:256)
at ifM @ org.polystat.cli.util.FileTypes$Directory$.fromPath(FileTypes.scala:23)
at flatMap @ org.polystat.cli.util.InputUtils$.toInput(InputUtils.scala:51)
at flatMap @ org.polystat.cli.PolystatOpts$.analyzerConfig$$anonfun$1(PolystatOpts.scala:227)
at map @ org.polystat.cli.PolystatOpts$.analyzeEO$$anonfun$1(PolystatOpts.scala:41)
at flatMap @ org.polystat.cli.Main$.run$$anonfun$1(Main.scala:31)
at as @ org.polystat.cli.Main$.run$$anonfun$1(Main.scala:31)
at map @ com.monovore.decline.effect.CommandIOApp$.run$$anonfun$4(CommandIOApp.scala:40)
If empty file results/polystat-eo-out.txt is created beforehand, the run succeed.
I would assume the out file should be automatically created in this case.
Running polystat-cli with the following command:
Got exception:
If empty file
results/polystat-eo-out.txt
is created beforehand, the run succeed.I would assume the out file should be automatically created in this case.
Test environment:
The text was updated successfully, but these errors were encountered: