Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coursier throws a FileNotFoundException #3876

Open
lefou opened this issue Oct 30, 2024 · 2 comments
Open

Coursier throws a FileNotFoundException #3876

lefou opened this issue Oct 30, 2024 · 2 comments

Comments

@lefou
Copy link
Member

lefou commented Oct 30, 2024

While running mill mill.scalalib.Dependency.updates Mill aborted abnormally with the following exception, which is most likely a concurrency issue in coursier, seen before but deemed to be fixed.

> millw mill.scalalib.Dependency/showUpdates --format PerDependency
[2/2] ========================================================================================= mill.scalalib.Dependency/showUpdates --format PerDependency ====================================================================================== 251s
1 tasks failed
mill.scalalib.Dependency.updates java.lang.Exception: Failure during task evaluation: mill.define.Task$TraverseCtx@64f79891 java.io.FileNotFoundException: /home/lefou/.cache/coursier/v1/http/localhost%3A8099/repository/iba-nexus/com/fasterxml/jackson/module/jackson-module-parameter-names/maven-metadata.xml (Datei oder Verzeichnis nicht gefunden)
mill.define.Task$TraverseCtx@5d34d543 java.io.FileNotFoundException: /home/lefou/.cache/coursier/v1/http/localhost%3A8099/repository/iba-nexus/com/fasterxml/jackson/module/jackson-module-parameter-names/maven-metadata.xml (Datei oder Verzeichnis nicht gefunden)
    mill.eval.Evaluator.$anonfun$evalOrThrow$default$1$1(Evaluator.scala:68)
    mill.eval.EvaluatorImpl$EvalOrThrow.apply(EvaluatorImpl.scala:85)
    mill.scalalib.dependency.versions.VersionsFinder$.findVersions(VersionsFinder.scala:29)
    mill.scalalib.dependency.DependencyUpdatesImpl$.apply(DependencyUpdatesImpl.scala:25)
    mill.scalalib.Dependency$.$anonfun$updates$2(Dependency.scala:22)
error: Recipe `mill-updates` failed on line 215 with exit code 1

A subsequent run succeeded, so this is indeed on of the issues we previously handled in Mill with retry-logic and removed it later in #3505.

@lefou
Copy link
Member Author

lefou commented Oct 30, 2024

>  mill --version
Mill Build Tool version 0.12.1-7-d8bbe5
Java version: 21.0.4, vendor: Eclipse Adoptium, runtime: /opt/openjdk-bin-21.0.4_p7
Default locale: de_DE, platform encoding: UTF-8
OS name: "Linux", version: 6.1.90-gentoo-x86_64, arch: amd64

@lihaoyi
Copy link
Member

lihaoyi commented Oct 31, 2024

CC @alexarchambault

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants