MappingMongoConverter can go into an infinite loop if we try to log a non-json item
#657 (closed) shows a case where we ended up with a failure not being shown in a test log because the conformance suite developer had logged a JWK object instead of converting it to JSON.
There seems to be two issues that should be looked into:
-
Why did we go into an infinite loop that ended up running out of stack
-
Why did the resulting exception not end up in the test log
It should hopefully be easily to recreate this by making one of the test conditions (e.g. ExtractServerSigningAlg) log a JWK without the .toJSONString()
.