DocumentBuilder needs to skip null values. This adds a test to make sure that happens. http://www.nabble.com/indexing-null-values--tf4238702.html