NullPointerException
in reactive TransactionalOperatorImpl
#30729
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
type: regression
A bug that is also a regression
Milestone
I have used spring-tx for a while. I just upgraded the version into 6.0.9. But some of my tests, which were passed before, about transaction are failed.
So, I tried to find the reason.
In the below code, the test failed, but the exception type are not "NoSuchElementException". It is "NullPointerException".
This code is not what my real test, but it is just a sample code.
I found code was changed 2 months ago. And the below is what was added or modified.
But if I do not use
awaitSingle
like the below code, the test works what I have expected.Should I not use
Mono.awaitSingle
in ReactiveTransactionManager?The text was updated successfully, but these errors were encountered: