java.lang.IllegalArgumentException: Invalid path to cargo /cargo

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by LooMaclin
, 1 year ago
java.lang.IllegalArgumentException: Invalid path to cargo /cargo
at org.rust.cargo.commands.Cargo.(Cargo.kt:32)
at org.rust.cargo.toolchain.RustToolchain.nonProjectCargo(RustToolchain.kt:69)
at org.rust.cargo.toolchain.RustToolchain.queryCargoVersion(RustToolchain.kt:35)
at org.rust.cargo.project.settings.ui.RustProjectSettingsPanel$scheduleVersionUpdate$
at com.intellij.util.Alarm$Request$
at java.util.concurrent.Executors$
at com.intellij.util.concurrency.SchedulingWrapper$
at com.intellij.util.concurrency.BoundedTaskExecutor.runFirstTaskThenPollAndRunRest(
at com.intellij.util.concurrency.BoundedTaskExecutor.access$000(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.