Skip to content

mill mill.eclipse/ fails in its own project #7116

@lefou

Description

@lefou
> mill --version
Mill Build Tool version 1.1.6-29-55543e
java.version: 25.0.2
java.vendor: Azul Systems, Inc.
java.home: /home/lefou/.cache/coursier/arc/https/cdn.azul.com/zulu/bin/zulu25.32.17-ca-jdk25.0.2-linux_x64.tar.gz/zulu25.32.17-ca-jdk25.0.2-linux_x64
file.encoding: UTF-8
os.name: Linux
os.version: 6.18.26-gentoo-dist
os.arch: amd64

> mill mill.eclipse/
75/75+] mill mill.eclipse/ 3s
[Eclipse JDT Project generator] Gather and aggregate all Java Modules with their Test Modules ...
[Eclipse JDT Project generator] Resolving all aggregated Java Modules ...
[Eclipse JDT Project generator] Creating all the Eclipse Projects ...
[Eclipse JDT Project generator] Writing parent Eclipse project for the Mill Build file on disk:
[Eclipse JDT Project generator]  Name: mill-build-parent
[Eclipse JDT Project generator]  Path: /home/lefou/work/opensource/mill
[Eclipse JDT Project generator] Writing Eclipse JDT Project on disk:
[Eclipse JDT Project generator]  Name: libs.init.gradle.api
[Eclipse JDT Project generator]  Path: /home/lefou/work/opensource/mill/libs/init/gradle/api
[Eclipse JDT Project generator] Writing Eclipse JDT Project on disk:
[Eclipse JDT Project generator]  Name: libs.javalib.testrunner.entrypoint
[Eclipse JDT Project generator]  Path: /home/lefou/work/opensource/mill/libs/javalib/testrunner/entrypoint
[Eclipse JDT Project generator] Writing Eclipse JDT Project on disk:
[Eclipse JDT Project generator]  Name: dist
[Eclipse JDT Project generator]  Path: /home/lefou/work/opensource/mill/dist
java.util.NoSuchElementException: key not found: /home/lefou/work/opensource/mill/runner/launcher
        at scala.collection.immutable.BitmapIndexedMapNode.apply(HashMap.scala:678)
        at scala.collection.immutable.HashMap.apply(HashMap.scala:136)
        at mill.eclipse.GenEclipseImpl.$anonfun$6(GenEclipseImpl.scala:342)
        at scala.collection.immutable.List.map(List.scala:240)
        at scala.collection.immutable.List.map(List.scala:238)
        at mill.eclipse.GenEclipseImpl.run$$anonfun$1(GenEclipseImpl.scala:341)
        at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
        at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
        at scala.collection.immutable.BitmapIndexedMapNode.foreach(HashMap.scala:1119)
        at scala.collection.immutable.HashMap.foreach(HashMap.scala:273)
        at mill.eclipse.GenEclipseImpl.run(GenEclipseImpl.scala:312)
        at mill.daemon.MillMain0$.$anonfun$11$$anonfun$4(MillMain0.scala:592)
        at scala.util.Using$.resource(Using.scala:298)
        at mill.daemon.MillMain0$.$anonfun$11(MillMain0.scala:596)
        at scala.util.Using$.resources$$anonfun$1$$anonfun$1(Using.scala:335)
        at scala.util.Using$.resource(Using.scala:298)
        at scala.util.Using$.resources$$anonfun$1(Using.scala:336)
        at scala.util.Using$.resource(Using.scala:298)
        at scala.util.Using$.resources(Using.scala:337)
        at mill.daemon.MillMain0$.main0$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(MillMain0.scala:627)
        at mill.daemon.MillMain0$.withStreams$$anonfun$2(MillMain0.scala:100)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreamsUtils.scala:50)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreamsUtils.scala:51)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreamsUtils.scala:52)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreamsUtils.scala:53)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at scala.Console$.withErr(Console.scala:195)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreamsUtils.scala:54)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at scala.Console$.withOut(Console.scala:166)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1$$anonfun$1(SystemStreamsUtils.scala:55)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at scala.Console$.withIn(Console.scala:229)
        at scala.Console$.withIn(Console.scala:242)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1(SystemStreamsUtils.scala:56)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.api.SystemStreamsUtils$.withStreams(SystemStreamsUtils.scala:57)
        at mill.daemon.MillMain0$.withStreams(MillMain0.scala:101)
        at mill.daemon.MillMain0$.main0$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(MillMain0.scala:134)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.daemon.MillMain0$.main0$$anonfun$1$$anonfun$1$$anonfun$1(MillMain0.scala:642)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.daemon.MillMain0$.main0$$anonfun$1$$anonfun$1(MillMain0.scala:643)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.daemon.MillMain0$.main0$$anonfun$1(MillMain0.scala:644)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.api.daemon.MillRepositories$.withValue(MillRepositories.scala:16)
        at mill.daemon.MillMain0$.main0(MillMain0.scala:645)
        at mill.daemon.MillDaemonMain0.main0(MillDaemonMain0.scala:151)
        at mill.server.MillDaemonServer.$anonfun$3(MillDaemonServer.scala:141)
        at mill.server.DaemonRpcServer$$anon$1.f$proxy1$1(DaemonRpcServer.scala:38)
        at mill.server.DaemonRpcServer$$anon$1.apply(DaemonRpcServer.scala:40)
        at mill.server.DaemonRpcServer$$anon$1.apply(DaemonRpcServer.scala:29)
        at mill.rpc.MillRpcServer.run$$anonfun$1(MillRpcServer.scala:59)
        at mill.rpc.MillRpcServer.onAsk(MillRpcServer.scala:70)
        at mill.rpc.MillRpcServer.run(MillRpcServer.scala:59)
        at mill.rpc.MillRpcServer.run$(MillRpcServer.scala:8)
        at mill.server.DaemonRpcServer.run(DaemonRpcServer.scala:9)
        at mill.server.MillDaemonServer.handleConnection(MillDaemonServer.scala:151)
        at mill.server.MillDaemonServer.handleConnection(MillDaemonServer.scala:68)
        at mill.server.Server.runSocketHandler$$anonfun$1(Server.scala:304)
        at mill.server.Server.runSocketHandler$$anonfun$adapted$1(Server.scala:321)
        at mill.api.daemon.StartThread$.$anonfun$1(SpawnThread.scala:5)
        at java.base/java.lang.Thread.run(Thread.java:1474)

mill.api.daemon.Result$SerializedException: key not found: /home/lefou/work/opensource/mill/runner/launcher
        at scala.collection.immutable.BitmapIndexedMapNode.apply(HashMap.scala:678)
        at scala.collection.immutable.HashMap.apply(HashMap.scala:136)
        at mill.eclipse.GenEclipseImpl.$anonfun$6(GenEclipseImpl.scala:342)
        at scala.collection.immutable.List.map(List.scala:240)
        at scala.collection.immutable.List.map(List.scala:238)
        at mill.eclipse.GenEclipseImpl.run$$anonfun$1(GenEclipseImpl.scala:341)
        at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
        at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
        at scala.collection.immutable.BitmapIndexedMapNode.foreach(HashMap.scala:1119)
        at scala.collection.immutable.HashMap.foreach(HashMap.scala:273)
        at mill.eclipse.GenEclipseImpl.run(GenEclipseImpl.scala:312)
        at mill.daemon.MillMain0$.$anonfun$11$$anonfun$4(MillMain0.scala:592)
        at scala.util.Using$.resource(Using.scala:298)
        at mill.daemon.MillMain0$.$anonfun$11(MillMain0.scala:596)
        at scala.util.Using$.resources$$anonfun$1$$anonfun$1(Using.scala:335)
        at scala.util.Using$.resource(Using.scala:298)
        at scala.util.Using$.resources$$anonfun$1(Using.scala:336)
        at scala.util.Using$.resource(Using.scala:298)
        at scala.util.Using$.resources(Using.scala:337)
        at mill.daemon.MillMain0$.main0$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(MillMain0.scala:627)
        at mill.daemon.MillMain0$.withStreams$$anonfun$2(MillMain0.scala:100)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreamsUtils.scala:50)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreamsUtils.scala:51)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreamsUtils.scala:52)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreamsUtils.scala:53)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at scala.Console$.withErr(Console.scala:195)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreamsUtils.scala:54)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at scala.Console$.withOut(Console.scala:166)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1$$anonfun$1(SystemStreamsUtils.scala:55)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at scala.Console$.withIn(Console.scala:229)
        at scala.Console$.withIn(Console.scala:242)
        at mill.api.SystemStreamsUtils$.withStreams$$anonfun$1(SystemStreamsUtils.scala:56)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.api.SystemStreamsUtils$.withStreams(SystemStreamsUtils.scala:57)
        at mill.daemon.MillMain0$.withStreams(MillMain0.scala:101)
        at mill.daemon.MillMain0$.main0$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(MillMain0.scala:134)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.daemon.MillMain0$.main0$$anonfun$1$$anonfun$1$$anonfun$1(MillMain0.scala:642)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.daemon.MillMain0$.main0$$anonfun$1$$anonfun$1(MillMain0.scala:643)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.daemon.MillMain0$.main0$$anonfun$1(MillMain0.scala:644)
        at scala.util.DynamicVariable.withValue(DynamicVariable.scala:60)
        at mill.api.daemon.MillRepositories$.withValue(MillRepositories.scala:16)
        at mill.daemon.MillMain0$.main0(MillMain0.scala:645)
        at mill.daemon.MillDaemonMain0.main0(MillDaemonMain0.scala:151)
        at mill.server.MillDaemonServer.$anonfun$3(MillDaemonServer.scala:141)
        at mill.server.DaemonRpcServer$$anon$1.f$proxy1$1(DaemonRpcServer.scala:38)
        at mill.server.DaemonRpcServer$$anon$1.apply(DaemonRpcServer.scala:40)
        at mill.server.DaemonRpcServer$$anon$1.apply(DaemonRpcServer.scala:29)
        at mill.rpc.MillRpcServer.run$$anonfun$1(MillRpcServer.scala:59)
        at mill.rpc.MillRpcServer.onAsk(MillRpcServer.scala:70)
        at mill.rpc.MillRpcServer.run(MillRpcServer.scala:59)
        at mill.rpc.MillRpcServer.run$(MillRpcServer.scala:8)
        at mill.server.DaemonRpcServer.run(DaemonRpcServer.scala:9)
        at mill.server.MillDaemonServer.handleConnection(MillDaemonServer.scala:151)
        at mill.server.MillDaemonServer.handleConnection(MillDaemonServer.scala:68)
        at mill.server.Server.runSocketHandler$$anonfun$1(Server.scala:304)
        at mill.server.Server.runSocketHandler$$anonfun$adapted$1(Server.scala:321)
        at mill.api.daemon.StartThread$.$anonfun$1(SpawnThread.scala:5)
        at java.lang.Thread.run(Thread.java:1474)

Mill launcher failed. See out/mill-launcher/log for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions