Open dpux opened 3 years ago
Hi @dpux , thanks for the report. However I can't reproduce this issue with the versions in your build. Can you please provide a full test project, created with launch, that has this issue?
@yawkat I can reproduce this with the servlet project. SuspendControllerSpec
is failing on the master branch
Edit: Nevermind. The error was slightly different and had a different cause
Expected Behavior
withContext is commonly used to switch coroutine context. Until Micronaut 2.5, things worked fine, but with 3.0 invoking this method throws NPE.
Actual Behaviour
Using withContext with any dispatcher results in NPE.
Steps To Reproduce
Build.gradle plugins/dependencies:
Use the following code to test:
Environment Information
MacOS 11.6 JDK 11 Kotlin 1.5.31
Example Application
No response
Version
3.1.0