Mongodb plugin error: undefined method `[]' for nil:NilClass

```
E, [2014-10-16T06:00:41.876776 #18379] ERROR -- : mongodb www3::0.0.0.0: Error getting data: undefined method `[]' for nil:NilClass
```