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
If I include $replaceRoot stage, aggregation fails with CodecConfigurationException. Below is the (bit anonymized) aggregation itself. Workaround is to use $project instead of $replaceRoot (which is not that convenient).
org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for CodecCacheKey{clazz=class org.springframework.data.mongodb.core.aggregation.BooleanOperators$And, types=null}.
Do you happen to have a complete minimal sample (something that we can unzip or git clone, build, and deploy) that reproduces the problem? Also the java representation of the pipeline as well as execution paths & stack traces would be a good thing to add. Thank you!
This is similar to already closed #4285.
If I include
$replaceRoot
stage, aggregation fails withCodecConfigurationException
. Below is the (bit anonymized) aggregation itself. Workaround is to use$project
instead of$replaceRoot
(which is not that convenient).Some dependency versions:
The text was updated successfully, but these errors were encountered: