Skip to content
New issue

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

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

Already on GitHub? # to your account

2.2.0 NoSuchMethodError #1747

Closed
mpilquist opened this issue Jan 19, 2020 · 1 comment
Closed

2.2.0 NoSuchMethodError #1747

mpilquist opened this issue Jan 19, 2020 · 1 comment

Comments

@mpilquist
Copy link
Member

object Test extends App {
  println(Stream(1, 2, 3).through(_.map(_ + 1)).toList)
}

Compile above with 2.1.0 and run with 2.2.0 and you get:

java.lang.NoSuchMethodError: fs2.Stream.fs2$Stream$$free()Lfs2/internal/FreeC;
	at Test$.$anonfun$new$1$adapted(Test.scala:5)
	at fs2.Stream$.through$extension(Stream.scala:2709)

First brought up by @amesgen on Gitter as it impacted http4s.

@kubukoz
Copy link
Member

kubukoz commented Jan 19, 2020

This also surfaced in doobie:

[E] java.lang.NoSuchMethodError: fs2.Stream.fs2$Stream$$free()Lfs2/internal/FreeC;
[E] 	at doobie.util.transactor$Transactor$$anon$6.apply(transactor.scala:175)
[E] 	at doobie.syntax.StreamOps.transact(stream.scala:16)

Looks OK on current master.

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

No branches or pull requests

2 participants