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

java.lang.IllegalArgumentException: 'other' is different type of Path #531

Open
er1c opened this issue Jun 30, 2021 · 1 comment
Open

java.lang.IllegalArgumentException: 'other' is different type of Path #531

er1c opened this issue Jun 30, 2021 · 1 comment

Comments

@er1c
Copy link

er1c commented Jun 30, 2021

After upgrading to 2.4.15 from 2.4.2 we get this exception when building inside of a docker container.

Related to this commit? 59e29fd

[error] java.lang.IllegalArgumentException: 'other' is different type of Path
[error]         at sun.nio.fs.UnixPath.relativize(UnixPath.java:416)
[error]         at sun.nio.fs.UnixPath.relativize(UnixPath.java:43)
[error]         at wartremover.WartRemover$.copyToCompilerPluginJarsDir(WartRemover.scala:53)
[error]         at wartremover.WartRemover$.$anonfun$scalacOptionSetting$2(WartRemover.scala:71)
[error]         at scala.collection.immutable.List.map(List.scala:297)
[error]         at wartremover.WartRemover$.$anonfun$scalacOptionSetting$1(WartRemover.scala:64)
[error]         at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error]         at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error]         at sbt.std.Transform$$anon$4.work(Transform.scala:68)
[error]         at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[error]         at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[error]         at sbt.Execute.work(Execute.scala:291)
[error]         at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[error]         at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error]         at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
[error]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error]         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error]         at java.lang.Thread.run(Thread.java:748)
[error] (ProjectRef(uri("file:/local/web_api/"), "web_api") / Test / scalacOptions) java.lang.IllegalArgumentException: 'other' is different type of Path
[error] Total time: 186 s (03:06), completed Jun 29, 2021 10:29:35 PM
ERROR: 1
@ericdotdata
Copy link

Confirmed it works in 2.4.11

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

No branches or pull requests

2 participants