Open lpicanco opened 1 year ago
I've also got this issue. My digging points to ContinuationArgumentBinder.bind
creating a brand new CustomContinuation
when one already exists in the source
HttpRequest
object. This brand new CustomContinuation
never has its delegatingCoroutineContext
set, but the one in the HttpRequest
does have one set.
is this still an issue in 4? i cant reproduce yet because of old node version
Expected Behavior
This code should work:
Actual Behaviour
NullPointerException error:
Steps To Reproduce
./gradlew run
npm install artillery
2.2.node_modules/.bin/artillery run loadtest.yml
java.lang.NullPointerException: null at io.micronaut.http.bind.binders.DelegatingCoroutineContext.get(ContinuationArgumentBinder.kt:105)
Environment Information
Example Application
https://github.com/lpicanco/micronaut-wsocket-coroutine-error
Version
3.8.2