JetBrains / Qodana

📝 Source repository of Qodana Help

Home Page:https://www.jetbrains.com/help/qodana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File /data/project cannot be found

primus852 opened this issue · comments

I am running the docker image on a Win10, Docker for Windows 3.0.0:

winpty docker run --rm -it -v /C/Docker/my-fancy-project/:/data/project/ -p 8080:8080 jetbrains/qodana --show-report

and get this error:

$ winpty docker run --rm -it -v  /C/Docker/my-fancy-project/:/data/project/ -p 8080:8080 jetbrains/qodana --show-report[YourKit Java Profiler 2020.9-b412] Log file: /data/results/log/Main-13.log
Listening for transport dt_socket at address: 5005
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ui.StartupUiUtil to constructor com.sun.java.swing.plaf.gtk.GTKLookAndFeel()
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ui.StartupUiUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Starting up IntelliJ IDEA 2020.3 (build IJCA-203.6527) ...done.
File /data/project cannot be found
Expected parameters: <project_file_path> <inspection_profile> <output_path> <inspections_profile> -- use here profile name configured in the project or locally or path to the inspection profile; can be stabbed when one of the -e|-profileName|-profilePath is used
[<options>]
 Available options are:
 -d <directory_path>  --  directory to be inspected. Optional. Whole project is inspected by default.
 -e                   --  skip
-v[0|1|2]            --  verbose level. 0 - silent, 1 - verbose, 2 - most verbose.
-profileName         --  name of a profile defined in project
 -profilePath         --  absolute path to the profile file
 -format              --  report output format. Supported options: xml, json, plain. Defaults to xml
 -changes             --  inspect uncommitted changes and report new problems

What am I doing wrong?

Make your source directory exists, ls -la /C/Docker/my-fancy-project :)

Hi @primus852 ,

Thank you for contacting us about your issue.

Unfortunately, I am not able to reproduce it. Are you still experiencing this problem or was it a one time issue?
If you're still experiencing this problem, could you please provide us with more information - OS, project structure and the exact steps needed to reproduce on our side?

You could contact us at qodana-support@jetbrains.com

Hi @primus852,

I am closing this issue because it has been inactive for a few months.

Please open new issue via our issue tracker if you still encounter this problem with the latest stable version.

Thank you!