At work we faced a strange issue with mongoDB 2.x. Whereas our requests were working perfectly with mongoDB 1.8 we always got errors. The message mongoDB was firing at us was of the form :

Caused by: com.mongodb.MongoException: assertion db/../bson/bsonobjbuilder.h:127
       at com.mongodb.MongoException.parse(MongoException.java:82)

I found the following issue in mongoDB's Jira but apparently nothing to do with our requests (we are not using empty properties indexes), it takes me a lot of time to figure out that, at times, our request were sorted on empty properties (as stated here). The fix is really simple, do not sort on empty properties !

As it takes me times to find this and I did not find any blog post explaining this, I hope it will help another developer.

Streamlining Finances: Automating Bill Renaming with Apple Shortcuts

## The Problem: The "Downloads" Folder ChaosWe all know the struggle. You download a PDF invoice from your utility provider or internet s...… Continue reading

Tuist build test schemes

Published on May 22, 2025

Swift module registration

Published on April 28, 2025