Skip to content

NPE in catsEffect3RuntimePingPong #2269

@senia-psm

Description

@senia-psm

With the latest (3.2.4) version of cats-effect there is an NPE in catsEffect3RuntimePingPong benchmark, published by @djspiewak

I'm getting NPE (see below) on this fork (all other benchmarks removed, version updated) https://github.com/senia-psm/async-runtime-benchmarks.

Env:

  • Linux
  • openjdk version "1.8.0_302"
  • AMD Ryzen 5 2600 Six-Core

Log:

$ sbt jmh:run
...
[info] # Benchmark: benchmarks.Benchmarks.catsEffect3RuntimePingPong
[info] # Run progress: 0,00% complete, ETA 00:04:30
[info] # Fork: 1 of 3
[info] # Warmup Iteration 1: 824,686 ops/s
[info] # Warmup Iteration 2: 965,760 ops/s
[error] Exception in thread "io-compute-2" java.lang.NullPointerException
[error] at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:392)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions