Welcome! Please see the About page for a little more info on how this works.

+1 vote
in tools.deps.alpha by
recategorized by

Having a deps.edn

{:deps {org.clojure/data.csv { :sha "e5beccad0bafdb8e78f19cba481d4ecef5fabf36"}}}

(which misses the git/url), I get only a not informative error message aboy a NPE

Error building classpath.

at clojure.string$starts_with_QMARK_.invokeStatic(string.clj:364)
at clojure.tools.gitlibs.impl$clean_url.invokeStatic(impl.clj:70)
at clojure.tools.gitlibs.impl$git_dir.invokeStatic(impl.clj:85)
at clojure.tools.gitlibs.impl$ensure_git_dir.invokeStatic(impl.clj:106)
at clojure.tools.gitlibs$procure.invokeStatic(gitlibs.clj:61)


This is specially a problem in cases of several coordinates in the deps.end, because it does not give a hint which coordinate has the issue.

This happens as well in scenarios of a wrong sha

1 Answer

0 votes
selected by
Best answer

Thanks, will be fixed for next release. The sha error was already fixed recently.

For missing url:

Error building classpath. :git/url not found or inferred for org.clojure/data.csv

For unknown sha:

Error building classpath. Commit not found for io.github.clojure/data.csv in repo https://github.com/clojure/data.csv.git at 1234567890123456789012345678901234567890