mongodb/mongo-hadoop — pull request #98 by lfrancke (2014-02-24 15:42:29+00:00)
Title: Fix NPE in BSONSerDe

This would fail with a NPE when a source List was null. This fixes it by returning an empty list.

The other alternative is to return null but that does set the field in MongoDB to null. I'm not sure what the best practices are in the MongoDB community but I'd think that instead of storing an explicit null I'd just leave out the field all-together.