DineshSolanki (Community Member) asked a question.

I'm using varacode static plugin for intellij, everything is fine, However whenever I try to download the result, it throws an error -

com.veracode.intellij.plugin.exceptions.ValidationException

 

com.veracode.intellij.plugin.exceptions.ValidationException: Invalid directory name, Failure to validate directory path:, input=C:\Users\username\DownloadsException : com.veracode.intellij.plugin.exceptions.ValidationException: Invalid directory name, Invalid directory, not inside specified parent, input=C:\Users\username\Downloads, parent=\

at com.veracode.intellij.plugin.util.ValidationUtil.getValidDirectoryPath(ValidationUtil.java:116)

at com.veracode.intellij.plugin.util.IoUtil.buildInfoFile(IoUtil.java:87)

at com.veracode.intellij.plugin.util.IoUtil.writeReportXMLToFile(IoUtil.java:47)

at com.veracode.intellij.plugin.api.Connector$15.call(Connector.java:559)

at com.veracode.intellij.plugin.api.Connector$15.call(Connector.java:553)

at com.veracode.intellij.plugin.api.Connector$ServiceTaskExecutor.doInBackground(Connector.java:942)

at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)

at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)

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.lang.Thread.run(Thread.java:833)

 

 

The directory does exist, its the same case no matter what directory I chose for result download.

Intellij version -

IntelliJ IDEA 2022.3.2 (Community Edition)

Build #IC-223.8617.56, built on January 26, 2023

Runtime version: 17.0.5+1-b653.25 amd64

VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

Windows 10 10.0

GC: G1 Young Generation, G1 Old Generation

Memory: 2038M

Cores: 4

Non-Bundled Plugins:

  com.veracode.greenlight.intellij.plugin.id (1.8.5.202211100556-RELEASE)

  com.veracode.intellij.plugin.id (3.5.0 (202111170158))


  • marcboggs (Community Member)

    Does everyone have read/write access to the directory?

Topics (8)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.