You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We tried to update our application to Quarkus 3.7.0 which is shipping the latest Mutiny version 2.5.5, but one of our unit tests is failing due to a NPE in Mutiny.
Description
The exception stack trace:
java.lang.NullPointerException: Cannot invoke "java.util.concurrent.Flow$Subscription.request(long)" because "this.innerUpstream" is null
at io.smallrye.mutiny.operators.multi.MultiConcatMapOp$MainSubscriber.request(MultiConcatMapOp.java:250)
at io.smallrye.mutiny.helpers.test.AssertSubscriber.request(AssertSubscriber.java:711)
at io.smallrye.mutiny.helpers.test.AssertSubscriber.awaitNextItemEvents(AssertSubscriber.java:614)
at io.smallrye.mutiny.helpers.test.AssertSubscriber.awaitNextItems(AssertSubscriber.java:395)
at io.smallrye.mutiny.helpers.test.AssertSubscriber.awaitNextItems(AssertSubscriber.java:373)
at com.acme.ReproducerQuarkusTest.testNullPointerException(ReproducerQuarkusTest.java:41)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:1013)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:827)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Context
We tried to update our application to Quarkus 3.7.0 which is shipping the latest Mutiny version 2.5.5, but one of our unit tests is failing due to a NPE in Mutiny.
Description
The exception stack trace:
Additional details
I was able to create a minimal reproducer:
Tested in a
@QuarkusTest
using:The test passes sometimes, but sometimes it doesn't, so maybe some kind of race condition?
The text was updated successfully, but these errors were encountered: