Skip to content

NullPointerException when blockedThreadDetectionEnabled is set to true #3427

@L7R7

Description

@L7R7

I just tried the 3.5.0-RC1 version in one of our services, mainly to test the thread blocking detection introduced in #3387 and I see the following error in the logs:

Exception in thread "io-compute-1" java.lang.NullPointerException: Cannot invoke "java.util.concurrent.atomic.AtomicBoolean.get()" because the return value of "cats.effect.unsafe.WorkerThread.parked()" is null
 	at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:430)

I can only guess, but it sounds to me like it could relate to the thread blocking detection

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions